[Pyrex] Subclassing an extension type from a built-in

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Oct 15 23:45:52 CEST 2005


Michael Hordijk wrote:

> Is it not possible to raise an exception from the initializer of an
> extension type?  Or am I going about the inheritance all wrong?

There shouldn't be any problem raising an exception there, and
at first glance I can't see anything wrong with the way you're
doing the inheritance. I'll have to investigate this further.

Greg




More information about the Pyrex mailing list