]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43693: Compute deref offsets in compiler (gh-25152)
authorMark Shannon <mark@hotpy.org>
Fri, 4 Jun 2021 00:03:54 +0000 (01:03 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Jun 2021 00:03:54 +0000 (18:03 -0600)
commitb2bf2bc1ece673d387341e06c8d3c2bc6e259747
tree29217a2927ed27e71e6324876f279946219a25a9
parent35002aa8f62dda1f79035e9904abdf476683e9be
bpo-43693: Compute deref offsets in compiler (gh-25152)

Merges locals and cells into a single array.
Saves a pointer in the interpreter and means that we don't need the LOAD_CLOSURE opcode any more

https://bugs.python.org/issue43693
Doc/library/dis.rst
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]
Objects/clinic/codeobject.c.h
Objects/codeobject.c
Python/ceval.c
Python/compile.c
Python/importlib.h
Python/importlib_external.h