bpo-45711: remove unnecessary DUP_TOP and POP in exception handling (… · python/cpython@4cdeee5 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 4cdeee5

File tree

4 files changed

lines changed

4 files changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -375,7 +375,7 @@ def _write_atomic(path, data, mode=0o666):
375 375 # Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
376 376 # in PC/launcher.c must also be updated.
377 377
378 -MAGIC_NUMBER = (3462).to_bytes(2, 'little') + b'\r\n'
378 +MAGIC_NUMBER = (3463).to_bytes(2, 'little') + b'\r\n'
379 379 _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
380 380
381 381 _PYCACHE = '__pycache__'