[Pyrex] How to efficiently construct an extension instance from Pyrex?

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Apr 19 05:47:36 CEST 2004


Gary Bishop <gb at cs.unc.edu>:

> Can I have a constructor that I use from Pyrex and a different one I 
> use from Python?

No, currently there's only one supported way to instantiate
an object in Pyrex, and that's to call its class, the same
as Python.

At some point I may look into providing a more efficient
way.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list