Repository navigation
det: LIBRARY*, _extents, _occurs_chain in the leaf cics_common; dyncall.py, mq.py cycle-free (Part of #7153) - #7264
Merged
Conversation
…ll.py, mq.py cycle-free (Part of #7153) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
…does not import it (Part of #7153) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
CI shepherd: the head of this PR (43d00ed) is not the one a maintainer labelled |
auto-merge was automatically disabled
October 31, 2026 07:00
Pull request was converted to draft
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
This was referenced Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7153 (slice 4).
File-cap exception: an atomic move (the names leave gen.py and every importer switches in the same change, or a cycle or broken import remains); 5 source files plus 1 test, and 1 more test (test_evidence_components.py) whose staleness expectation follows the import graph.
What
LIBRARY,LIBRARY_RC/CLOCK/FLOATS/CHARSET,_extents,_occurs_chainmove fromdet/gen.pyto the leafdet/cics_common.py;gen.pyre-imports them, sogen.LIBRARY,G._extents(program.py, det_port.py, tests) are unchanged.dyncall.py: three lazygenimports and the_extentswrapper replaced by one top-level leaf import.cics.py: four lazyUntranslatableimports -> the existing cics_common import.mq.py:22likewise.tests/core_engine/test_cics_spec.py): the leaf-imports test now coversdyncallandmq; a new test pins that gen re-exports the same objects.Class
Det modules importing
det.genback for a gen-independent constant or helper (CodeQL py/cyclic-import). Siblings fixed here: cics.py, mq.py, dyncall.py.Gates
audit_check (ruff, mypy, dead-key, ast-accuracy) clean;
det_port.py check: 183/183 ports unchanged; cics_spec, dsntiac, le_time, det_translate tests pass (790). No golden change (no parsing code touched).Cross-repo
None. Overlaps open PR #7255 on cics.py and gen.py (small edits); whichever merges second rebases.
🤖 Generated with Claude Code
Also:
tests/cobol_mainframe/test_evidence_components.py-- gen.py is no longer imported by det.cics, so a gen.py change stales the same cases as program.py (programs / crucible), not every cics/call/db2 case; this is the intended narrowing.