#15984: Python 3 preparation: Change some code to use more modern Python idioms
-------------------------------------+-------------------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/wluebbe/ticket/15984 | 85f7d5e4d37663aa841e33a52664d1e070c32fa6
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by wluebbe):
* status: new => needs_review
* commit: => 85f7d5e4d37663aa841e33a52664d1e070c32fa6
* branch: => u/wluebbe/ticket/15984
Comment:
* At first I applied the 2to3 tool (idioms) -> first commit
* Fixing the doctests failures of the first commit -> second commit. All
tests passed.
* Changed {{{while 1:}}} into {{{while True:}}} for cython modules ->
third commit.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=86de42958864006b263231dc0245c68e5e367b78
86de429]||{{{changes made by 2to3 tool (idioms), many changes}}}||
||[http://git.sagemath.org/sage.git/commit/?id=1f059812415dbf4915dff9895228c9d28a07fe68
1f05981]||{{{reverted changes to 4 modules done by 2to3 tool}}}||
||[http://git.sagemath.org/sage.git/commit/?id=85f7d5e4d37663aa841e33a52664d1e070c32fa6
85f7d5e]||{{{change "while 1:" into "while True:" for .pyx modules}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/15984#comment:1>
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.