Le dimanche 26 octobre 2014 11:08:15 UTC+1, Volker Braun a écrit : > > Right now: only implement __cmp__ following what is written in > sage/structure/element.pyx, and not __eq__ and friends. You can play some > tricks with the __richcmp__ hook but its probably best to stick to a single > kind of comparison if you want your stuff to transition easily to python3. > > Thanks for your prompt answer. I'll follow your recommendation.
Eric. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.