]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 7 Jun 2021 22:52:00 +0000 (16:52 -0600)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 22:52:00 +0000 (16:52 -0600)
commit631f9938b1604d4f893417ec339b9e0fa9196fb1
tree6a72bf35dafb42ad3d00e153e244538db4a646ee
parente915db3e9e512249a6f494c0b331db2d021e1f56
bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)

This moves logic out of the frame initialization code and into the compiler and eval loop.  Doing so simplifies the runtime code and allows us to optimize it better.

https://bugs.python.org/issue43693
16 files changed:
Doc/library/dis.rst
Include/cpython/code.h
Include/internal/pycore_frame.h
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Lib/test/test_dis.py
Lib/test/test_scope.py
Misc/NEWS.d/next/Core and Builtins/2021-05-26-19-10-47.bpo-43693.1KSG9u.rst [new file with mode: 0644]
Objects/frameobject.c
Objects/typeobject.c
Python/ceval.c
Python/compile.c
Python/importlib.h
Python/importlib_external.h
Python/opcode_targets.h