Skip to content

Commit 9600e55

Browse files
author
rocky
committed
Add 3.12.9 to list of acceptable Python versions
1 parent ba695e4 commit 9600e55

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

xdis/magics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (C) Copyright 2018-2024 by Rocky Bernstein
1+
# (C) Copyright 2018-2025 by Rocky Bernstein
22
#
33
# This program is free software; you can redistribute it and/or
44
# modify it under the terms of the GNU General Public License
@@ -572,7 +572,7 @@ def add_canonic_versions(release_versions: str, canonic):
572572
)
573573

574574
add_canonic_versions(
575-
"3.12 3.12.0 3.12.1 3.12.2 3.12.3 3.12.4 3.12.5 3.12.6 3.12.7 3.12.8",
575+
"3.12 3.12.0 3.12.1 3.12.2 3.12.3 3.12.4 3.12.5 3.12.6 3.12.7 3.12.8 3.12.9",
576576
"3.12.0rc2",
577577
)
578578

xdis/wordcode.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""Python disassembly functions specific to wordcode from Python 3.6+
1818
"""
1919
from xdis.bytecode import op_has_argument
20-
from xdis.cross_dis import unpack_opargs_bytecode_310, _get_cache_size_313
20+
from xdis.cross_dis import _get_cache_size_313, unpack_opargs_bytecode_310
2121

2222

2323
def unpack_opargs_wordcode(code, opc):
@@ -68,6 +68,7 @@ def findlabels(code, opc):
6868
elif op in opc.JABS_OPS:
6969
jump_offset = arg2
7070
else:
71+
print("XXX", offset, op)
7172
continue
7273
if jump_offset not in offsets:
7374
offsets.append(jump_offset)

0 commit comments

Comments
 (0)