John, there seems to be a confusion in your answer. The current behavior of (p/q) % n is to return Zmod(n)(p/q).lift(). We want to change it to be something else as proposed in [1], [2] and [3]. What I want is to preserve a way of doing efficiently the old behavior...
[1] https://groups.google.com/forum/#!topic/sage-devel/PfMop0nyiL0 [2] https://trac.sagemath.org/ticket/21745 [3] https://trac.sagemath.org/ticket/15260 -- 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.