summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2024-10-08 17:18:39 (GMT)
committerGitHub <noreply@github.com>2024-10-08 17:18:39 (GMT)
commitc6127af8685c2a9b416207e46089cee79d028b85 (patch)
treef7547bbcdcf3cf109a026410c4b81cc51b1c7316 /Lib/enum.py
parent7dca7322cca7ff146444e56f28f21f1090987fff (diff)
downloadcpython-c6127af8685c2a9b416207e46089cee79d028b85.zip
cpython-c6127af8685c2a9b416207e46089cee79d028b85.tar.gz
cpython-c6127af8685c2a9b416207e46089cee79d028b85.tar.bz2
gh-125063: Emit slices as constants in the bytecode compiler (#125064)
* Make slices marshallable * Emit slices as constants * Update Python/marshal.c Co-authored-by: Peter Bierma <zintensitydev@gmail.com> * Refactor codegen_slice into two functions so it always has the same net effect * Fix for free-threaded builds * Simplify marshal loading of slices * Only return SUCCESS/ERROR from codegen_slice --------- Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions