]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Sep 2024 19:56:00 +0000 (21:56 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Sep 2024 19:56:00 +0000 (12:56 -0700)
commitde8dc92db7859d5512969f97b6a7ac3f6ad61c74
tree48e3619125fd0a7938e9b476953b5c946756465f
parent8d5911ef6b03b75914d17dca0c46360fc0413879
[3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950) (#124273)

gh-123880: Allow recursive import of single-phase-init modules (GH-123950)

(cherry picked from commit aee219f4558dda619bd86e4b0e028ce47a5e4b77)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
Lib/test/test_import/__init__.py
Lib/test/test_import/data/circular_imports/singlephase.py [new file with mode: 0644]
Misc/NEWS.d/next/C_API/2024-09-12-16-16-24.gh-issue-123880.2-8vcj.rst [new file with mode: 0644]
Modules/_testsinglephase.c
Python/import.c
Tools/c-analyzer/cpython/ignored.tsv