[Pyrex] Type conversion to arguments for a C method

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 18 03:21:19 CEST 2005


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.

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



More information about the Pyrex mailing list