In my opinion not this only particular case but the current bool() design in sage is a tremendous failure. This was already discussed on sage-devel several times.
Here is one of that threads: https://groups.google.com/d/msg/sage-devel/vNxnHSeRBW4/UkaBOPGYT0QJ Jakob Am Sonntag, 19. Februar 2017 12:56:49 UTC+1 schrieb Daniel Krenn: > > Dear all, > > I am surprised by > sage: bool(I < 1) > True > > Best Daniel > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.