Zumochi / unpyc3

Automatically exported from code.google.com/p/unpyc3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

possible error in source

GoogleCodeExporter opened this issue · comments

basically wanted to try the example that you gave, made a .py:
"from unpyc3 import decompile
def foo(x, y, z=3, *args):
    global g
    for i, j in zip(x, y):
        if z == i + j or args[i] == j:
            g = i, j
            return

print(decompile(foo))"
executed it got this error:
"Traceback (most recent call last):
  File "ss.py", line 1, in <module>
    from unpyc3 import decompile
  File "/home/ghazi/Desktop/unpyc3.py", line 1334
    func, name, *parents  = posargs"

Original issue reported on code.google.com by Zarg...@gmail.com on 9 Feb 2015 at 1:15