#16064: Python 3 preparation: Handle basestring (Py2) vs. str (Py3)
-------------------------------------+-------------------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: André Apitzsch | Reviewers: Ralf Stephan
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/aapitzsch/ticket/16064 | 3df268bee99266bfb2d75c3d22edb653089b9928
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by aapitzsch):
You are right using {{{2to3}}} would be the better way, but the tool
doesn't touch doctests and it will not fix all compatibility issues.
IMO we should change as much as possible (if it is not ugly) upstream to
reduce work for {{{2to3}}}.
And in the long run we have to change it anyway.
Changes like #16442, #16529 and even #16071 (if we leave the {{{izip}}}
part out) should be fine.
Let's skip this ticket for the moment and maybe replaced it by using
{{{2to3}}} at build time.
--
Ticket URL: <http://trac.sagemath.org/ticket/16064#comment:12>
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.