[Cython] non cdef'd class in a pyx file
Robert Bradshaw
robertwb at math.washington.edu
Tue May 6 19:25:06 CEST 2008
This should work just fine.
On May 6, 2008, at 10:19 AM, Brian Granger wrote:
> Hi,
>
> I am wondering if there are any issues with declaring a regular python
> class in a pyx file. Specifically, we need to define an exception
> like this:
>
> class FooError(Exception):
> ...
>
> I have done this before and it seems to work, but are there any
> subtleties or things to be aware of?
>
> Thanks
>
> Brian
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
More information about the Cython-dev
mailing list