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: http://paste.pocoo.org/show/62193/ thanks and I will be tomorrow on the channel. -- Leonardo Santagada
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: http://paste.pocoo.org/show/62193/
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. ciao, Anto
participants (2)
-
Antonio Cuni
-
Leonardo Santagada