Here is a doctest from sage/rings/integer.pyx: sage: Integer('012') doctest:...: DeprecationWarning: use 0o as octal prefix instead of 0 If you do not want this number to be interpreted as octal, remove the leading zeros. See http://trac.sagemath.org/17413 for details. 10
But if I run the command Integer('012')from the command line (in a newly started Sage session) or the Jupyter notebook, no deprecation warning is printed. Same if I just evaluate 012. Is this a bug? It seems to defeat the purpose of the deprecation warning, which is to actually warn people that a feature is going away, not just to provide extra characters in docstrings and the reference manual. -- John -- 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/6569111a-90ac-436f-8ecb-2976a9b32ab3%40googlegroups.com.