Skip to content

gh-145059: Record lazy modules without submodules in sys.lazy_modules - #146081

Merged
DinoV merged 2 commits into
python:mainfrom
johnslavik:lazy-imports-record-childrenless-modules
Mar 27, 2026
Merged

DinoV merged 2 commits into
python:mainfrom
johnslavik:lazy-imports-record-childrenless-modules

Conversation

@johnslavik

@johnslavik johnslavik commented Mar 17, 2026 •

Copy link
Copy Markdown
Member

@DinoV DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@DinoV
DinoV merged commit a5b9d60 into python:main Mar 27, 2026
54 checks passed
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@johnslavik
johnslavik deleted the lazy-imports-record-childrenless-modules branch July 21, 2026 01:55
msullivan pushed a commit to msullivan/cpython that referenced this pull request Sep 23, 2026
msullivan added a commit to msullivan/cpython that referenced this pull request Sep 23, 2026
The test_lazy_module_without_children_is_tracked test added in python#146081
uses assert_python_ok but never imported it.
msullivan added a commit to msullivan/cpython that referenced this pull request Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants