mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-45711: remove unnecessary DUP_TOP and POP in exception handling (GH-29495)
This commit is contained in:
parent
05fbd60147
commit
4cdeee5978
4 changed files with 90 additions and 97 deletions
|
@ -375,7 +375,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 = (3462).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3463).to_bytes(2, 'little') + b'\r\n'
|
||||
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
|
||||
|
||||
_PYCACHE = '__pycache__'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue