[Cython] non cdef'd class in a pyx file
Brian Granger
ellisonbg.net at gmail.com
Tue May 6 19:47:48 CEST 2008
Thanks!
On Tue, May 6, 2008 at 11:25 AM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> 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
>
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>
More information about the Cython-dev
mailing list