[Cython] Test/example for cpdef enum

Robert Bradshaw robertwb at gmail.com
Sat Aug 2 19:08:55 CEST 2014


On Sat, Aug 2, 2014 at 3:56 AM, Ian Bell <ian.h.bell at gmail.com> wrote:
> Are there any tests/docs/examples showing how to use the cpdef enum?  This
> is a feature I have been looking for for a long time and I am hoping to use
> it very soon in my own project.

https://github.com/cython/cython/blob/master/tests/run/cpdef_enums.pyx
https://github.com/cython/cython/blob/master/tests/run/cpdef_enums.pxd

> I have a windows box that I can run the alpha test suite on with the full
> complement of python versions.  Let me know if there is interest and I can
> run the tests.  Alternatively, if you are still doing a buildbot (the link
> at https://github.com/cython/cython/wiki/HackerGuide#buildbot is broken) ,
> we could configure a nightly slave to run the tests.

That would be nice; windows is woefully undertested for Cython.

- Robert


More information about the cython-devel mailing list