mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-114265: move line number propagation before cfg optimization, remove guarantee_lineno_for_exits (#114267)
This commit is contained in:
parent
efb81a60f5
commit
7e49f27b41
4 changed files with 61 additions and 64 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue