[pypy-dev] Unpacking sequence

Seo Sanghyeon tinuviel at sparcs.kaist.ac.kr
Sat Oct 11 19:42:54 CEST 2003

...miserably fails with FlowObjSpace.

I ran pypy/translator/translator.py and tried,

def boom():
    a, b = 0, 1

t = Translator(boom)

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "translator.py", line 52, in __init__
    self.flowgraph = space.build_flow(func)
  File "/home/tinuviel/svn/src/pypy/objspace/flow/objspace.py",
  line 60, in build_flow
  File "/home/tinuviel/svn/src/pypy/objspace/flow/flowcontext.py",
  line 186, in build_flow
    w_result = frame.eval(self)
  File "/home/tinuviel/svn/src/pypy/interpreter/pyframe.py",
  line 49, in eval
  File "/home/tinuviel/svn/src/pypy/interpreter/pyopcode.py",
  line 48, in dispatch
    fn(self, oparg)
  File "/home/tinuviel/svn/src/pypy/interpreter/pyopcode.py",
  line 419, in UNPACK_SEQUENCE
    raise OperationError(f.space.w_ValueError, f.space.wrap(str(e)))
AttributeError: FlowObjSpace instance has no attribute 'w_ValueError'

I don't know how to fix this at all.

I know everybody is busy for funding. Should I add this one to PyPy
issue tracker? Any idea from those who reading pypy-dev but not involved
in funding?


More information about the Pypy-dev mailing list