> @@ -129,6 +129,27 @@ COMMAND LINE OPTIONS > example, if you define a function in isympy with an undefined > Symbol, it will not work. > > + See also the -i and -I options. > + > +-i, --int-to-Integer > + > + Automatically wrap int literals with Integer. This makes it so that > + things like 1/2 will come out as Rational(1, 2), rather than 0.5. This > + works by preprocessing the source and wrapping all int literals with > + Integer. Note that this will not change the behavior of int literals > + assigned to variables, and it also won't change the behavior of functions > + that return int literals.
Should a note be added that this overrides "from future import division"? It seems pretty clear that this is the case, though. --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1470/files#r1328142 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.