Daniel Lepage, 25.05.2010 20:57:
> If you declare a python function as nogil, Cython throws an internal
> error. For example, compiling
>
> def f() nogil: print 'hello, world'
>
> yields a large traceback ending in
>
>    File "Parsing.py", line 2431, in
> Cython.Compiler.Parsing.p_def_statement
> (./build/cython/Cython/Compiler/Parsing.c:44712)
> AttributeError: 'Cython.Compiler.Scanning.PyrexScanner' object has no
> attribute 'pos'

Hi,

thanks for the report. This works for me with the latest cython-devel 
developer sources. You can get it from here:

http://hg.cython.org/cython-devel

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to