[Cython] non cdef'd class in a pyx file

Brian Granger ellisonbg.net at gmail.com
Tue May 6 19:19:27 CEST 2008


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


More information about the Cython-dev mailing list