You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Misc bugs
parse2.py: restore accidently-removed while1stmt rule scanner27.py: grammar typo check_ast: add while1else to list of looping constructs pysource.py: CALL_FUNCTION_VAR_KW_ARGS with positional args rule is different?
This commit is contained in:
@@ -1786,7 +1786,9 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
str += '*%c, **%c)'
|
||||
# Python 3.5 only puts optional args (the VAR part)
|
||||
# lowest down the stack
|
||||
if self.version == 3.5:
|
||||
na = (v & 0xff) # positional parameters
|
||||
if self.version == 3.5 and na == 0:
|
||||
print("XXX", k)
|
||||
if p2[2]: p2 = (2, -2, ', ')
|
||||
entry = (str, 0, p2, 1, -2)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user