I noticed the following cython code if S is long: return sage.rings.integer.long_to_Z() elif S is int: return sage.rings.integer.int_to_Z()
https://github.com/sagemath/sage/blob/30fecca1981087a88eb8db2cf05e18edbb50d16f/src/sage/rings/integer_ring.pyx#L589C1-L593C1 However, in cython with python3 we now have: sage: cython(""" ....: def tst(): ....: return int is long ....: """) sage: tst() True so I think the `elif` can be deleted. Is that correct? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/29f587a2-d399-4e0c-a38a-49a6781de877n%40googlegroups.com.