Skip to content

Commit 4cdeee5

Browse files
authored
bpo-45711: remove unnecessary DUP_TOP and POP in exception handling (GH-29495)
1 parent 05fbd60 commit 4cdeee5

File tree

4 files changed

+93
-100
lines changed

4 files changed

+93
-100
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def _write_atomic(path, data, mode=0o666):
375375
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
376376
# in PC/launcher.c must also be updated.
377377

378-
MAGIC_NUMBER = (3462).to_bytes(2, 'little') + b'\r\n'
378+
MAGIC_NUMBER = (3463).to_bytes(2, 'little') + b'\r\n'
379379
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
380380

381381
_PYCACHE = '__pycache__'

0 commit comments

Comments
 (0)