Skip to content

Commit 42d26cc

Browse files
committed
Bump version
1 parent 73a4c0b commit 42d26cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

uncompyle6/scanners/scanner3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,9 @@ def ingest(self, co, classname=None, code_objects={}, show_asm=None
628628
)
629629

630630
correct_annotate_args = annotate_args
631-
if opname == "MAKE_CLOSURE" and ((3, 4) <= self.version < (3, 6)) and annotate_args > 0:
632-
# For some reason that I don't understand annotate_args is off by one
633-
# here from what is documented in
631+
if opname in ("MAKE_CLOSURE", "MAKE_FUNCTION") and ((3, 4) <= self.version < (3, 6)) and annotate_args > 0:
632+
# For some reason that I don't understand, annotate_args is off by one
633+
# when there is an EXENDED_ARG instruction from what is documented in
634634
# https://docs.python.org/3.4/library/dis.html#opcode-MAKE_CLOSURE
635635
# However in parsing rule, we have already adjusted for the one-fewer annotate arg
636636
correct_annotate_args -= 1

uncompyle6/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# This file is suitable for sourcing inside POSIX shell as
1515
# well as importing into Python
1616
# fmt: off
17-
__version__="3.9.0" # noqa
17+
__version__="3.9.1.dev0" # noqa

0 commit comments

Comments
 (0)