Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions xdis/bytecode.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def get_logical_instruction_at_offset(
elif op in opc.LOCAL_OPS:
if opc.version_tuple >= (3, 13) and opname in (
"LOAD_FAST_LOAD_FAST",
"LOAD_FAST_BORROW_LOAD_FAST_BORROW",
"STORE_FAST_LOAD_FAST",
"STORE_FAST_STORE_FAST",
):
Expand Down
4 changes: 4 additions & 0 deletions xdis/magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,10 @@ def __by_version(magic_versions: Dict[bytes, str]) -> dict:
# Fix handling of opcodes that may leave operands on the stack when optimizing LOAD_FAST
add_magic_from_int(3625, "3.14b3")

# Fix missing exception handlers in logical expression
add_magic_from_int(3626, "3.14rc2")

# Fix miscompilation of some module-level annotations
add_magic_from_int(3627, "3.14rc3")

# add_magic_from_int(3655, "3.15.0a0")
Expand Down
Loading