On Tue, Apr 2, 2019 at 10:47 PM <dsejas.mathemat...@gmail.com> wrote:
>
> Hello, Sage community.
> With the upcoming migration of Sage from Python2 to Python3, I was wondering 
> if the "print" statement will be changed to the new "print" function. In any 
> case, will there be backwards compatibility with the current behavior?

As you can see in the current sage sources, there are no print statements left,
only print functions.

the trick with Python 2 is to do

from __future__ import print_function

to get this compatibility


> Thanks in advance for your answers!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to