PyPy Translation error?

Your function returns a RPython-level AST node, which is a C structure after translation. The translator does not know how to represent this in the Python interpreter, to return the result when the function is called.

Your function returns a RPython-level AST node, which is a C structure after translation. The translator does not know how to represent this in the Python interpreter, to return the result when the function is called. In C, a main() function can only return an integer.In pypy, the interactive translator can pass and return strings, ints, floats and tuples.

You should process the ast nodes and return basic types.

This is a very specific pypy-related question and you're more likely to get answers on #pypy on irc.freenode. Net or asking on pypy-dev. That said, you should not use interactive translation for that (among other things it has insane defaults).

Instead you should write a target (look into translator/goal/targetnopstandalone. Py for an example) and use translate. Py to compile it.

1 I wish I could accept both answers, thanks for the info though, and I'll be in irc soon – Timothy Baldridge Mar 4 at 14:22.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions