diff options
author | Brandt Bucher <brandt@python.org> | 2022-01-04 11:38:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 11:38:32 -0800 |
commit | 31e43cbe5f01cdd5b5ab330ec3040920e8b61a91 (patch) | |
tree | d1fe86279c419ff34eae29c77a538b1d053f47cc /Lib/importlib/_bootstrap_external.py | |
parent | f404e26d749c85eef7b5be836375260855050ee3 (diff) | |
download | cpython-31e43cbe5f01cdd5b5ab330ec3040920e8b61a91.tar.gz cpython-31e43cbe5f01cdd5b5ab330ec3040920e8b61a91.zip |
bpo-46009: Remove GEN_START (GH-30367)
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 29324664cea..872d6d96a74 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -377,6 +377,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.11a4 3469 (bpo-45711: remove type, traceback from exc_info) # Python 3.11a4 3470 (bpo-46221: PREP_RERAISE_STAR no longer pushes lasti) # Python 3.11a4 3471 (bpo-46202: remove pop POP_EXCEPT_AND_RERAISE) +# Python 3.11a4 3472 (bpo-46009: replace GEN_START with POP_TOP) # # MAGIC must change whenever the bytecode emitted by the compiler may no @@ -386,7 +387,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 = (3471).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3472).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |