]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43693: Un-revert commits 2c1e258 and b2bf2bc. (gh-26577)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 7 Jun 2021 18:22:26 +0000 (12:22 -0600)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 18:22:26 +0000 (12:22 -0600)
commit2ab27c4af4ddf7528e1375e77c787c7fbb09b5e6
treed3983e5282f575560cb7449fae4785447fdfff14
parent001eb520b5757294dc455c900d94b7b153de6cdd
bpo-43693: Un-revert commits 2c1e258 and b2bf2bc. (gh-26577)

These were reverted in gh-26530 (commit 17c4edc) due to refleaks.

2c1e258 - Compute deref offsets in compiler (gh-25152)
b2bf2bc - Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388)

This change fixes the refleaks.

https://bugs.python.org/issue43693
23 files changed:
Doc/library/dis.rst
Include/cpython/code.h
Include/internal/pycore_code.h
Lib/ctypes/test/test_values.py
Lib/dis.py
Lib/importlib/_bootstrap_external.py
Lib/test/test_dis.py
Misc/NEWS.d/next/Core and Builtins/2021-04-02-15-02-16.bpo-43693.l3Ureu.rst [new file with mode: 0644]
Misc/NEWS.d/next/Core and Builtins/2021-05-21-20-53-49.bpo-43693.-NN3J_.rst [new file with mode: 0644]
Objects/clinic/codeobject.c.h
Objects/codeobject.c
Objects/frameobject.c
Objects/typeobject.c
Programs/test_frozenmain.h
Python/ceval.c
Python/compile.c
Python/frozen_hello.h
Python/importlib.h
Python/importlib_external.h
Python/importlib_zipimport.h
Python/marshal.c
Python/suggestions.c
Tools/gdb/libpython.py