]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-70764: inspect.getclosurevars now identifies global variables with LOAD_GLO...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Nov 2024 00:12:08 +0000 (01:12 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 00:12:08 +0000 (00:12 +0000)
commitfc01844019f63748e8334adca57a11577cc00a6d
treea79094d388fa0bdde8d4a6976854d5144712eff2
parentb00887d176544377c607689c2132a47712afa6b3
[3.12] gh-70764: inspect.getclosurevars now identifies global variables with LOAD_GLOBAL (GH-120143) (#126460)

gh-70764: inspect.getclosurevars now identifies global variables with LOAD_GLOBAL (GH-120143)
(cherry picked from commit 83ba8c2bba834c0b92de669cac16fcda17485e0e)

Co-authored-by: blhsing <blhsing@gmail.com>
Lib/inspect.py
Lib/test/test_inspect/test_inspect.py
Misc/NEWS.d/next/Library/2024-06-06-04-06-05.gh-issue-70764.6511hw.rst [new file with mode: 0644]