#16078: Python 3 preparation: reduce() is no more a builtin function
-------------------------------------+-------------------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: André Apitzsch | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/aapitzsch/ticket/16078 | 199db7e55872caf0d7468750e7e1f1847f768483
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by wluebbe):
I didn't realize that {{{from functools import reduce}}} is already
possible since Python 2.6 (see the changed description).
All test passed {{{./sage -tp 4 --all --long >logs/sage-tp4-all-
long-16078.log}}}.
But I think it would be better (see also PEP8) to do the imports only once
at the top of teach module. For 24 modules this could be generated by
{{{2to3}}} - the 3 {{{.pyx}}} and the 1 doctest case go extra.
--
Ticket URL: <http://trac.sagemath.org/ticket/16078#comment:5>
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.