[Pyrex] Cannot 'see' C methods in extension types

Phil Frost indigo at bitglue.com
Thu Sep 29 15:59:25 CEST 2005


On Thu, Sep 29, 2005 at 01:19:02AM -0400, Nitin Madnani wrote:
> Whoops !! Upon closer inspection of the guide, I realize that the C  
> methods are only meant to be called from Pyrex code. Sorry about that.
> 
> I still don't understand the different behaviors of  __eq__() and  
> '==' , though.

See the __cmp__ method, documented in
<http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/version/Doc/special_methods.html>.



More information about the Pyrex mailing list