[pypy-dev] Problem on OOType for jspypy
anto.cuni at gmail.com
Thu Jun 5 11:38:27 CEST 2008
Leonardo Santagada wrote:
> Directly after annotation the targetjsstandalone.py gives an error on
> ootype. I cant see what might be the problem, and yes the code is
> translating to c fine. Here I am talking about the new code on a
> branch, but hopefully when antocuni and others in europe read this the
> code is going to be merged to trunk (if it is not wait a little for it).
> the error is:
> [translation:ERROR] Exception: unexpected prebuilt constant:
> <staticmethod object at 0x5937b0>
> but the full trace is on:
> thanks and I will be tomorrow on the channel.
staticmethods are not really supported by rpython. I would say they work
by chance with lltype, but you shouldn't use them.
More information about the Pypy-dev