Hi Brett,
On Sun, 6 Feb 2005 05:31:37 -0800 (PST), Hart's Antler
<[EMAIL PROTECTED]> 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.
Cheers,
Adrien.
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev