On 2018-12-13 13:11, John Cremona wrote:
The problem is that t is a pari gen and Sage tries too hard to compare that with python 0.
This has nothing to do with Sage or Python, the "problem" is that PARI considers [0] and 0 equal.
Personally, I think that Sage (really the package cypari2 which implements the PARI <-> Python interface) should follow the PARI semantics, even if they are dubious.
-- 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.