On Sat, Aug 2, 2014 at 7:08 PM, Robert Bradshaw <rober...@gmail.com> wrote:

> On Sat, Aug 2, 2014 at 3:56 AM, Ian Bell <ian.h.b...@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 see.  Stupidly I had thought that it would be automatic in the sense that
you don't have to manually declare which parameters will be output in the
python module.  Evidently that is not the case, which I guess is ok.  I had
hoped to avoid my script which parses my header and make a constants
module.  It works fine, its not the prettiest, but I guess I won't be
saying goodbye to it any time soon.


>
> > 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
> _______________________________________________
> cython-devel mailing list
> cython-devel@python.org
> https://mail.python.org/mailman/listinfo/cython-devel
>
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to