]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127651: Use __file__ in diagnostics if origin is missing (#127660)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Tue, 10 Dec 2024 04:55:20 +0000 (20:55 -0800)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2024 04:55:20 +0000 (20:55 -0800)
commit3983527c3a6b389e373a233e514919555853ccb3
tree7a9bbb49fc4b6e8b6996f25635db330978bde525
parent58c753827ac7aa3d7f1495ac206c28bf2f6c67e8
gh-127651: Use __file__ in diagnostics if origin is missing (#127660)

See the left hand side in https://github.com/python/cpython/pull/123929/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59deL2840-L2849

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_import/__init__.py
Misc/NEWS.d/next/Core_and_Builtins/2024-12-06-01-09-40.gh-issue-127651.80cm6j.rst [new file with mode: 0644]
Python/ceval.c