0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Objects/clinic
Brandt Bucher 2bde6827ea
bpo-46841: Quicken code in-place (GH-31888)
* Moves the bytecode to the end of the corresponding PyCodeObject, and quickens it in-place.

* Removes the almost-always-unused co_varnames, co_freevars, and co_cellvars member caches

* _PyOpcode_Deopt is a new mapping from all opcodes to their un-quickened forms.

* _PyOpcode_InlineCacheEntries is renamed to _PyOpcode_Caches

* _Py_IncrementCountAndMaybeQuicken is renamed to _PyCode_Warmup

* _Py_Quicken is renamed to _PyCode_Quicken

* _co_quickened is renamed to _co_code_adaptive (and is now a read-only memoryview).

* Do not emit unused nonzero opargs anymore in the compiler.
2022-03-21 11:11:17 +00:00
..
bytearrayobject.c.h bpo-42431: Fix outdated bytes comments (GH-23458) 2020-12-03 12:46:16 +02:00
bytesobject.c.h bpo-24234: Implement bytes.__bytes__ (GH-27901) 2021-08-23 19:01:51 +09:00
codeobject.c.h bpo-46841: Quicken code in-place (GH-31888) 2022-03-21 11:11:17 +00:00
complexobject.c.h bpo-24234: implement complex.__complex__ (GH-27887) 2021-08-23 09:15:49 +01:00
descrobject.c.h
dictobject.c.h bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534) 2020-07-19 09:18:55 +03:00
enumobject.c.h bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
floatobject.c.h bpo-46852: Remove the float.__set_format__() method (GH-31585) 2022-02-26 00:53:27 +01:00
funcobject.c.h
listobject.c.h bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
longobject.c.h bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteorder) (#28265) 2021-09-15 19:55:24 -07:00
memoryobject.c.h
moduleobject.c.h
odictobject.c.h bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534) 2020-07-19 09:18:55 +03:00
structseq.c.h
tupleobject.c.h bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
typeobject.c.h
unicodeobject.c.h bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic (GH-21535) 2020-07-20 15:53:55 +03:00