Hi, thanks for the report!
Julian Taylor, 12.01.2014 21:12: > 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? Well, yes, but apparently one with unintended side-effects. :) I pushed a proposed quick-fix here, test case pending, so it would be great if you or Yaroslav could give it a try. https://github.com/cython/cython/commit/279efc20fb8fb0bbcba5922afd010bdd3424e3b5 Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel