[Cython] Bug report: lambda and numpy.vectorize segfaults

Stefan Behnel stefan_ml at behnel.de
Wed Mar 23 17:44:42 CET 2011


Vitja Makarov, 23.03.2011 17:25:
>    File "/home/vitja/tmp/cython-my-git/Cython/Compiler/Parsing.py",
> line 2307, in p_c_arg_decl
>      if 'pxd' in s.level:
> AttributeError: 'PyrexScanner' object has no attribute 'level'

Yes it does:

"""
# Cython/Plex/Scanners.pxd
cdef class Scanner:
     [...]
     cdef public level
"""

Try a clean build.

Stefa


More information about the cython-devel mailing list