aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/importlib
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-01-19 14:49:26 +0000
committerGitHub <noreply@github.com>2024-01-19 14:49:26 +0000
commit7e49f27b41d5728cde1f8790586d113ddc25f18d (patch)
tree921c12198de0b9eb0b176a0ba45f9dc4249ed45c /Lib/importlib
parentefb81a60f5ce7e192095230a0f7ff9684d6f835a (diff)
downloadcpython-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.py3
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