On Saturday, May 9, 2015 at 6:25:49 AM UTC-7, Volker Braun wrote: > > > Arguably it should raise, though that is possibly only legal in Python 3 > > Where does the myth come from that comparison is not allowed to raise errors in python 2?
Python 2.7.5 (default, Nov 3 2014, 14:33:39) [GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> complex(1,2)<complex(3,4) TypeError: no ordering relation is defined for complex numbers -- 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.