diff options
author | wim glenn <jump@wimglenn.com> | 2023-12-12 01:47:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 01:47:12 (GMT) |
commit | 616622cab7200bac476bf753d6cc98f4ee48808c (patch) | |
tree | aed89cbc1c50ac050b5c2441ef5ac8c518b97142 /Lib/importlib | |
parent | 5b8664433829ea967c150363cf49a5c4c1380fe8 (diff) | |
download | cpython-616622cab7200bac476bf753d6cc98f4ee48808c.zip cpython-616622cab7200bac476bf753d6cc98f4ee48808c.tar.gz cpython-616622cab7200bac476bf753d6cc98f4ee48808c.tar.bz2 |
gh-112983: Add the known magic value of 3495 for Python 3.11 bytecode (#112985)
Add the known magic value of 3495 for Python 3.11 bytecode
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 4e96a91..d537598 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -413,6 +413,7 @@ _code_type = type(_write_atomic.__code__) # Python 3.11a7 3492 (make POP_JUMP_IF_NONE/NOT_NONE/TRUE/FALSE relative) # Python 3.11a7 3493 (Make JUMP_IF_TRUE_OR_POP/JUMP_IF_FALSE_OR_POP relative) # Python 3.11a7 3494 (New location info table) +# Python 3.11b4 3495 (Set line number of module's RESUME instr to 0 per PEP 626) # Python 3.12a1 3500 (Remove PRECALL opcode) # Python 3.12a1 3501 (YIELD_VALUE oparg == stack_depth) # Python 3.12a1 3502 (LOAD_FAST_CHECK, no NULL-check in LOAD_FAST) |