]> 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:23:43 +0000 (15:23 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 22:23:43 +0000 (15:23 -0700)
commitcfdd7d26a72e7ae523039e40c11001c2d7ef36ba
tree1ce73e5937bbc4ca1eb396fa86c1f8cd605e0bae
parent8af3090cb7af967ff699d82760ff36f978631b7a
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]