Repository navigation
det: translate() defaults to the z/OS COMP-5 order (Part of #7646, #7709) - #7829
Conversation
… programs that hold COMP-5 (Part of #7646, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…5 program it cannot serve (Part of #7646, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #7829 @ ae1c410: 1 failed check(s) == shard 1/2 (failure) -- real |
…, the oracle's COMP-5 order (Part of #7646, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (cd7abdd) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #7646, #7709 (slice 5:
translate()defaults to the z/OS COMP-5 order). Does not close either.What changed
det/program.py:translate(..., zos_comp5=None).None(the default) holds COMP-5 big-endian as z/OS does, but acts only on a program that holds a COMP-5 item of 2+ bytes outside the SQLCA, so every other port stays byte-identical. If such a program also meets azos_comp5refusal (SQL, foreign CALL, LINK/XCTL COMMAREA), the default retries it in the oracle's order as before. An explicitTrueacts on every program and refuses those;Falseis the native what-if.tests/tools/det_port.py,equivalence_java.py: dropped the per-casezos_comp5=argument, so the default applies.tests/tools/test_det_port_zos_comp5_7646.py: default, fallback, untouched-program and explicit-Truetests.tests/cobol_mainframe/test_det_programs.py:_pcs_holespasseszos_comp5=False, since its oracle-order refusals are the native what-if.docs/language_status/register/C7.md: the default, the fallback, the follow-through.Evidence
det_port.py check(fresh work dir): 265/270 ports unchanged. Changed: asynccc-asyncpnt, asynccc-seqpnt, zecs-zecs001, zecs-zecs002, zecs-zecsnc.PARMCOUNT, is read by no CALL).pr_gates --fast: 9/9 pass.Class / Sibling gaps
Class: a translator switch that must act on programs holding COMP-5 without regressing programs it cannot serve. Fixed here: SQL/CALL/LINK programs without COMP-5 are not touched, and those with COMP-5 fall back rather than refuse.
Sibling gaps (no issues filed):
Facts checked
test_det_programs.pywas forced by the flip (13 tests failed otherwise).Remaining slices
swapZosComp5mutants (L5 may dip from 12 to 10 until then, det_mutation: ASYNCPNT / SEQPNT swapZosComp5 restore survivors accounted (Part of #7646) #7756).Lessons for agents
ContextVar.setrejectsbool | Noneunder mypy: coerce first.Cross-repo: none.
🤖 Generated with Claude Code