On Jan 21, 2009, at 12:56 PM, Hoyt Koepke wrote: > Ah, that makes sense. > > Sorry I took so long to reply. I just got done with one of those hws > that pushes everything else aside. > > I can't edit the wiki currently, but I would be happy to put this in > there if someone would give me access.
You should be able to create an account by clicking on "login." > > --Hoyt > > On Sat, Jan 17, 2009 at 11:50 PM, Stefan Behnel > <[email protected]> wrote: >> Hi, >> >> Hoyt Koepke wrote: >>> Something seems really wrong here, maybe with my code. It seems >>> that >>> the self argument of __richcmp__ is not typed correctly. Before I >>> file a bug report, is __richcmp__ treated as a static method with >>> the >>> arguments still being each of the tested objects? >> >> Sort of. It's mapped to PyObject_RichCompare(), which takes two >> arbitrary >> objects and compares them. >> >> http://docs.python.org/c-api/object.html >> >> The C-API does this as the first object may not support the required >> operation, in which case the operands will end up being reversed >> and passed >> to the second object. >> >> I just noticed that this isn't in the FAQ in our Wiki. It's >> definitely >> worth going there. >> >> Stefan >> >> _______________________________________________ >> Cython-dev mailing list >> [email protected] >> http://codespeak.net/mailman/listinfo/cython-dev >> > > > > -- > > ++++++++++++++++++++++++++++++++++++++++++++++++ > + Hoyt Koepke > + University of Washington Department of Statistics > + http://www.stat.washington.edu/~hoytak/ > + [email protected] > ++++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
