mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)
This commit is contained in:
parent
7d2b83e9f0
commit
0ad1e0384c
10 changed files with 575 additions and 345 deletions
|
|
@ -351,6 +351,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.10b1 3436 (Add GEN_START bytecode #43683)
|
||||
# Python 3.10b1 3437 (Undo making 'annotations' future by default - We like to dance among core devs!)
|
||||
# Python 3.10b1 3438 Safer line number table handling.
|
||||
# Python 3.10b1 3439 (Add ROT_N)
|
||||
|
||||
#
|
||||
# MAGIC must change whenever the bytecode emitted by the compiler may no
|
||||
|
|
@ -360,7 +361,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
|
||||
# in PC/launcher.c must also be updated.
|
||||
|
||||
MAGIC_NUMBER = (3438).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3439).to_bytes(2, 'little') + b'\r\n'
|
||||
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
|
||||
|
||||
_PYCACHE = '__pycache__'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue