]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-144957: Fix lazy imports + module __getattr__ (GH-149624) (#149678)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 May 2026 13:36:35 +0000 (15:36 +0200)
committerGitHub <noreply@github.com>
Mon, 11 May 2026 13:36:35 +0000 (13:36 +0000)
commit8fdeb2dd3a2392669e7bbb75e3bd7142d15e00fb
tree8f28dee875515e52b322fc45f1bc3f68192d480c
parent592a356fb5250c83c1dcd4df47d2ea9f7c58cca3
[3.15] gh-144957: Fix lazy imports + module __getattr__ (GH-149624) (#149678)

gh-144957: Fix lazy imports + module __getattr__ (GH-149624)
(cherry picked from commit 56171da3417bc14fded2f42033d72f63e1bf7cd9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_lazy_import/__init__.py
Lib/test/test_lazy_import/data/module_with_getattr.py [new file with mode: 0644]
Lib/test/test_lazy_import/data/pkg/__init__.py
Misc/NEWS.d/next/Core_and_Builtins/2026-05-09-15-22-32.gh-issue-144957.u1F2aQ.rst [new file with mode: 0644]
Objects/moduleobject.c