#15989: Python 3 preparation: Change print statement to print() function
--------------------------------+------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.2
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+------------------------
Comment (by wluebbe):
A discussion in ticket:13255 lead to the idea to NOT include {{{from
__future__ import print_function}}} at the top of modules but to wrap a
pair of parenthesis around the parameter(s) of the //print statement//.
This should also satisfy the //print function// of Python 3.
For testing the completeness {{{from __future__ import print_function}}}
might be added to some module that is (almost) universally imported.
Are there any drawbacks?
--
Ticket URL: <http://trac.sagemath.org/ticket/15989#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.