]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-112414: Fix `AttributeError` when calling `repr()` on a namespace package...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 Nov 2023 08:53:57 +0000 (09:53 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Nov 2023 08:53:57 +0000 (08:53 +0000)
commitf9861e69c913bfaabf57bfa9a0207d19e192dcde
tree5505884fdfc1552a34987a3541b79fee271980cb
parent42df73652dba4937489e34a92dbf184a184c2d93
[3.12] gh-112414: Fix `AttributeError` when calling `repr()` on a namespace package imported with a custom loader (GH-112425) (#112440)

gh-112414: Fix `AttributeError` when calling `repr()` on a namespace package imported with a custom loader (GH-112425)
(cherry picked from commit 0622839cfedacbb48eba27180fd0f0586fe97771)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/importlib/_bootstrap.py
Lib/test/test_importlib/import_/test___loader__.py
Lib/test/test_importlib/test_namespace_pkgs.py
Misc/NEWS.d/next/Library/2023-11-26-13-44-19.gh-issue-112414.kx2E7S.rst [new file with mode: 0644]