]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-123930: Better error for "from imports" when script shadows module (GH...
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Thu, 24 Oct 2024 19:37:31 +0000 (12:37 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2024 19:37:31 +0000 (19:37 +0000)
commit3d8b6f0977fa28335da6071e26a9699e90f0a168
tree01fe1177193e53bcada9cfcee08d965a6ab8df7e
parent4b55d53316f607fdd83831e92f585288842c8988
[3.13] gh-123930: Better error for "from imports" when script shadows module (GH-123929) (#125937)

gh-123930: Better error for "from imports" when script shadows module (#123929)

(cherry picked from commit 500f5338a8fe13719478589333fcd296e8e8eb02)
Doc/whatsnew/3.13.rst
Include/internal/pycore_moduleobject.h
Lib/test/test_import/__init__.py
Misc/NEWS.d/next/Core_and_Builtins/2024-09-11-01-32-07.gh-issue-123930.BkPfB6.rst [new file with mode: 0644]
Objects/moduleobject.c
Python/ceval.c