[go: nahoru, domu]

Skip to content

Commit

Permalink
bpo-45711: remove unnecessary DUP_TOP and POP in exception handling (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel authored and remykarem committed Jan 30, 2022
1 parent 6158fb0 commit df51377
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 100 deletions.
2 changes: 1 addition & 1 deletion Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _write_atomic(path, data, mode=0o666):
# 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__'
Expand Down
Loading

0 comments on commit df51377

Please sign in to comment.