diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-01-19 14:49:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 14:49:26 +0000 |
commit | 7e49f27b41d5728cde1f8790586d113ddc25f18d (patch) | |
tree | 921c12198de0b9eb0b176a0ba45f9dc4249ed45c /Lib/importlib | |
parent | efb81a60f5ce7e192095230a0f7ff9684d6f835a (diff) | |
download | cpython-7e49f27b41d5728cde1f8790586d113ddc25f18d.tar.gz cpython-7e49f27b41d5728cde1f8790586d113ddc25f18d.zip |
gh-114265: move line number propagation before cfg optimization, remove guarantee_lineno_for_exits (#114267)
Diffstat (limited to 'Lib/importlib')
-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 97858ee83f7..a4d2b7e0184 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -463,6 +463,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.13a1 3564 (Removed oparg from YIELD_VALUE, changed oparg values of RESUME) # Python 3.13a1 3565 (Oparg of YIELD_VALUE indicates whether it is in a yield-from) # Python 3.13a1 3566 (Emit JUMP_NO_INTERRUPT instead of JUMP for non-loop no-lineno cases) +# Python 3.13a1 3567 (Reimplement line number propagation by the compiler) # Python 3.14 will start with 3600 @@ -479,7 +480,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 = (3566).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3567).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |