#17776: Make python scripts in src/bin python3 compatible
-------------------------------------+-------------------------------------
Reporter: aapitzsch | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.5
Component: scripts | Resolution:
Keywords: python3 | Merged in:
Authors: André Apitzsch | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/aapitzsch/ticket/17776 | ec5aa8a92c4bb96ca046f2737e11ed2ae84c036f
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by aapitzsch):
Replying to [comment:2 jhpalmieri]:
> Why is `from __future__ import print_function` in some files but not in
others?
It's not needed everywhere. Here, it's needed for
{{{
print() # to get a newline, otherwise we would see '()'
sep=
env=
}}}
> The file `src/bin/sage-CSI-helper.py` also still includes some old-style
% string formatting.
The old-style still works, but I can replace it if you want.
--
Ticket URL: <http://trac.sagemath.org/ticket/17776#comment:3>
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.