[Pyrex] Type conversion to arguments for a C method

Lenard Lindstrom len-l at telus.net
Tue Oct 18 05:00:17 CEST 2005


On 18 Oct 2005 at 14:21, Greg Ewing wrote:

> Lenard Lindstrom wrote:
> > Use 'def' instead of 'cdef' for special methods of extension types.
> > 
> > So I am wondering if this is an undocumented feature of Pyrex, or an unintensional 
> > one?
> 
> It's really a bug. The compiler should complain if you try
> to define a special method using cdef, instead of silently
> screwing up as it does now.
> 
I thought it fulfilled the request for a __new__ method that returns a value. :-)

Lenard




More information about the Pyrex mailing list