]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-98522: Add version number to code objects. (GH-98525)
authorMark Shannon <mark@hotpy.org>
Fri, 9 Dec 2022 12:18:45 +0000 (12:18 +0000)
committerGitHub <noreply@github.com>
Fri, 9 Dec 2022 12:18:45 +0000 (12:18 +0000)
commitfb713b21833a17cba8022af0fa4c486512157d4b
tree2e75f1e59393160792f1097846a648ff7927de8d
parent3c5355496b54fa0a4ea0e22344d008528e45682c
GH-98522: Add version number to code objects. (GH-98525)

* Add version number to code object for better versioning of functions.

* Improves specialization for closures and list comprehensions.
Include/cpython/code.h
Include/internal/pycore_code.h
Misc/NEWS.d/next/Core and Builtins/2022-10-21-16-10-39.gh-issue-98522.s_SixG.rst [new file with mode: 0644]
Objects/codeobject.c
Objects/funcobject.c
Programs/_bootstrap_python.c
Programs/_freeze_module.c
Python/bytecodes.c
Python/generated_cases.c.h
Tools/build/deepfreeze.py