[pypy-dev] Using PyPy as a compiler

Adrien Di Mascio adimasci at gmail.com
Sun Feb 6 15:10:45 CET 2005

Hi Brett,

On Sun, 6 Feb 2005 05:31:37 -0800 (PST), Hart's Antler
<bhartsho at yahoo.com> wrote:
> The pyrex generated code looks like this:
> def hi():
>   return hi__2ad67a3c()
> cdef object hi__2ad67a3c():
>   # untyped variables: v0 v13 v21 v3 v7
>   v3 = <Function sys_stdout>()
>   v7 = <Function print_item_to>('hello world', v3)
> which was generated from a function that looks like this:
> def hi(): return 'hello world'

Your original function probably has a print statement and print
statements, AFAIK, are not properly translated for now. This is a
"known" issue, however I'm not sure someone is actively looking at how
to fix it.


More information about the Pypy-dev mailing list