On 2015-12-21 17:53, Volker Braun wrote:
In any case, if you are serious about binary operations then the next question is going to be: why is ^ not bitwise xor like for Python ints.
That's actually a different question since it involves the preparser. In Sage, the ^ operator is calling __pow__ and not __xor__.
-- 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.