#13255: Replace some deprecated python functions in sage/misc
-------------------------------------+-------------------------------------
Reporter: aapitzsch | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: misc | Resolution:
Keywords: python3 | Merged in:
Authors: André Apitzsch | Reviewers: Wilfried Luebbe
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/wluebbe/ticket/13255 | 0c7d2ff469ef65dde7b90e0b50f018bd30b8c3c0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by wluebbe):
* commit: b7a33ec7d9db24da1edfc98617e4b03f06f2f632 =>
0c7d2ff469ef65dde7b90e0b50f018bd30b8c3c0
* branch: u/aapitzsch/ticket/13255 => u/wluebbe/ticket/13255
Comment:
I tested the change OK.
While I went through the patch I did some polishing and added it to a
reviewer patch.
[[br]]
If you agree with my branch, you can set this to positive review.
Otherwise set your latest patch to positive review.
The majority of changes simplify {{{"{0}{1}{2}"}}} to {{{"{}{}{}"}}}.
Since Python 2.7 (and Python 3.1) the positional argument specifiers can
be omitted
[[https://docs.python.org/2.7/library/string.html#formatstrings|Format
strings]].
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=0c7d2ff469ef65dde7b90e0b50f018bd30b8c3c0
0c7d2ff]||{{{reviewer patch}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/13255#comment:32>
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.