Hi,

On 25 October 2014 10:10, Maciej Fijalkowski <fij...@gmail.com> wrote:
> I would not be surprised if static methods are simply unsupported by
> the JIT (but likely for no good reason)

That's not a crash of the JIT:

>> "/Users/tim/oss-not-dropbox/externals/pypy/rpython/annotator/bookkeeper.py",
>> line 396, in getdesc
>> [translation:info]     raise Exception("%s: %r" % (msg, pyobj))
>> [translation:ERROR] Exception: unexpected prebuilt constant: <staticmethod
>> object at 0x10a8d5bb0>

What is unsupported at all is staticmethod objects in RPython.  I have
no clue why uncommenting that jit.unroll_safe makes the annotator sees
some staticmethod object...  You have to figure out what this pyobj
is.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to