logo       

Re: How to efficiently construct an extension instance from Pyrex?: msg#00036

python.pyrex

Subject: Re: How to efficiently construct an extension instance from Pyrex?

Gary Bishop <gb@xxxxxxxxxx>:

> 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@xxxxxxxxxxxxxxxxxxxxx +--------------------------------------+


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise