diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-05 11:06:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 11:06:22 (GMT) |
commit | 32091df41ce6e3a71df2cf37dc74b728c0d885f2 (patch) | |
tree | 0504c15f15a9ba83d08e480cc33a801cc648681d /Lib/importlib/_bootstrap_external.py | |
parent | 6c6e0408a663c1f53dad403f54a18d444da39cb7 (diff) | |
download | cpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.zip cpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.tar.gz cpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.tar.bz2 |
bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 39a348a..189547c 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -398,6 +398,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.11a6 3488 (LOAD_GLOBAL can push additional NULL) # Python 3.11a6 3489 (Add JUMP_BACKWARD, remove JUMP_ABSOLUTE) # Python 3.11a6 3490 (remove JUMP_IF_NOT_EXC_MATCH, add CHECK_EXC_MATCH) +# Python 3.11a6 3491 (remove JUMP_IF_NOT_EG_MATCH, add CHECK_EG_MATCH) # Python 3.12 will start with magic number 3500 @@ -412,7 +413,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 = (3490).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3491).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |