]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-74185: repr() of ImportError now contains attributes name and path (#136770)
authorYoav Nir <11yoav.nir@gmail.com>
Thu, 14 Aug 2025 13:14:00 +0000 (14:14 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Aug 2025 13:14:00 +0000 (15:14 +0200)
commitc87b66bc7c21fca637a3f5c6fd3aa14316a05bc6
tree01d559105a8a87f803cd4b408a76f5991ed2da52
parentc47ffbf1a3615efac58a6ec0238929ac3c65bfea
gh-74185: repr() of ImportError now contains attributes name and path (#136770)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Co-authored-by: ynir3 <ynir3@bloomberg.net>
Doc/whatsnew/3.15.rst
Lib/test/test_exceptions.py
Misc/NEWS.d/next/Core_and_Builtins/2025-07-19-10-35-31.gh-issue-74185.7hPCA5.rst [new file with mode: 0644]
Objects/exceptions.c