]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFound...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Nov 2021 22:26:40 +0000 (15:26 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 22:26:40 +0000 (15:26 -0700)
commit5f527caf15c52acc3f6e865721cdf781209f11ca
tree0b12c7b50addcb18bb7da51e315a344f77c0cbc3
parentd3e775501566138347ca9d10ce57afdc1fcd3859
bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFoundError (GH-28824)

(cherry picked from commit a459a81530de700b3d3faeb827b22ed1c9985812)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/inspect.py
Lib/test/test_inspect.py
Misc/NEWS.d/next/Library/2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst [new file with mode: 0644]