Hi, a h5py cython file fails to build with cython git head and 0.20b2. It works with older versions. This file fails
The offending file seems to be: https://github.com/h5py/h5py/blob/master/h5py/h5p.pyd cython h5py/h5p.pyx Error compiling Cython file: ------------------------------------------------------------ ... from _objects cimport ObjectID # --- Base classes --- cdef class PropID(ObjectID): """ Base class for all property lists """ ^ ------------------------------------------------------------ h5py/h5p.pxd:17:4: Executable statement not allowed here ... it was introduced in cython around this commit: b6b5152f386ddae503674cc26200a547f3b4c8b0 properly handle expressions at the beginning of func/class/etc. blocks Is this an intentional change? I did not see anything related in the CHANGES.rst of the 0.20.x branch. Please advise if this is a bug/regression in cython or bug/required-change in h5py. Note, I know neither cython nor h5py, Yaroslav Halchenko just encountered this issue while testing packages with 0.20b2 in Debian. Let me know if you need more information. _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel