[pypy-dev] pypy jit error

Ludovico Cavedon ludovico.cavedon at gmail.com
Tue Nov 3 03:02:52 CET 2009

Hi all,
I am trying to run pypy with the jit compiler.

I want to report some code I have that is failing, while with CPython it
is not.
I was able to isolate the the problem in a small testcase I am
attaching. It is failing after exactly 1000 next() calls to the
generator created by b().

  File "pypyfail.py", line 6, in b
    b= (vv[i] for i in [0])
TypeError: object <code object <genexp>, file 'pypyfail.py', line 6> is
not callable

I built the latest SVN trunk snapshot of pypy with
pypy/translator/goal/translate.py -Ojit

Btw, the executable is called "pypy-c" rather than "pypy-c-jit", is that ok?

Thank you in advance,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pypyfail.py
Type: text/x-python
Size: 140 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20091102/154e99f6/attachment.py>

More information about the Pypy-dev mailing list