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, Ludovico
Hi, Is it still failing with the b function renamed c for example ? -- Vincent Legoll
Hey. Thanks for the report. I think this is a dup of issue which I have been fighting recently, seems to work for me right now. Cheers, fijal On Tue, Nov 3, 2009 at 9:56 AM, Ludovico Cavedon <ludovico.cavedon@gmail.com> wrote:
Vincent Legoll wrote:
Is it still failing with the b function renamed c for example ?
Ups, I used "b" twice :)
Yes, it is failing also with b() renamed to c()
Thanks, Ludovico _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
participants (3)
-
Ludovico Cavedon -
Maciej Fijalkowski -
Vincent Legoll