#16052: Meta-ticket for Python 3.3+ preparation (sage library) - stage 2
--------------------------------+------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+------------------------
Description changed by jdemeyer:
Old description:
> This meta-ticket tracks those tickets for changing the Sage library that
> did not go into stage 1 (ticket:15980).
>
> Some reasons for assigning tasks to stage 2:
> * The code can run on Python 2 only with the support of imported
> "compatibility" libraries. [copied from description]
> Maybe we have to check the licenses of the used compatibility
> libraries.
> * The tasks are usually more complicated. The approach may not be obvious
> or uncontroversial.
> * To make progress we need a Python 3.3 test environment for them.
>
> This ticket is referenced by the meta-ticket ticket:15530
>
> ||No. ||2to3 fixer ||see ticket ||Comment ||
> || 2||basestring ||ticket:16064 ||about 27 modules; details see ticket
> ||
> || 5||dict ||ticket:15981 ||about 227 py modules; details see
> ticket
> || 7||exec ||ticket:16065 ||6 modules; details see ticket ||
> || 8||execfile ||ticket:16066 ||2 modules; details see ticket ||
> || 17||imports ||ticket:16069 ||about 39 modules; details see ticket
> ||
> || 22||itertools_import ||ticket:16070 ||about 12 modules; details see
> ticket ||
> || 23||itertools ||ticket:16071 ||about 20 modules; details see ticket
> ||
> || 24||long ||ticket:16072 ||about 72 modules; details see ticket
> ||
> || 25||map ||ticket:16073 ||about 171 modules; details see ticket
> ({{{from future_builtins import map}}} ?) ||
> || 26||metaclass ||ticket:16074 ||about 30 modules; details see ticket
> ||
> || 29||next ||ticket:18802 ||about 15 py modules; details see
> ticket ||
> || 30||nonzero ||ticket:16076 ||about 25 modules; details see ticket
> ||
> || 31||numliterals ||ticket:15987 ||?? py modules;oct and long literals;
> details see ticket ||
> ||35b||raise traceback||ticket:18799 ||about 3 py modules; details see
> ticket ||
> || 36||raw_input ||ticket:16077 ||3 modules; details see ticket ||
> || 46||unicode ||ticket:16079 ||lots of modules?; details see ticket
> ({{{from __future__ import unicode_literals}}} ?) ||
> || 47||urllib ||ticket:16080 ||about 16 modules; details see ticket
> ||
> || 49||xrange ||ticket:16081 ||about 293 modules changes; details
> see ticket ||
> || 51||zip ||ticket:16082 ||about 54 modules; details see ticket
> ({{{from future_builtins import zip}}} ?) ||
> || || || ||the following changes do not relate
> to 2to3 ||
> || 71||type() ||ticket:16085 ||about 161 modules; different values
> of type()function; details see ticket ||
> || 72||write() ||ticket:16086 ||about 79 modules; in Py3 the write()
> function has a return value; details see ticket ||
> || 73||traceback ||ticket:16088 ||about ?? modules; tracebacks can look
> different; details see ticket ||
> || 74||file-to-open ||ticket:16097 ||about 20 modules; replace builtin
> file() by open(); details see ticket ||
New description:
This meta-ticket tracks those tickets for changing the Sage library that
did not go into stage 1 (ticket:15980).
Some reasons for assigning tasks to stage 2:
* The code can run on Python 2 only with the support of imported
"compatibility" libraries. [copied from description]
Maybe we have to check the licenses of the used compatibility libraries.
* The tasks are usually more complicated. The approach may not be obvious
or uncontroversial.
* To make progress we need a Python 3.3 test environment for them.
This ticket is referenced by the meta-ticket ticket:15530
||No. ||2to3 fixer ||see ticket ||Comment ||
|| 2||basestring ||#16064 ||about 27 modules||
|| 5||dict ||#15981 ||about 227 py modules||
|| 7||exec ||#16065 ||6 modules||
|| 8||execfile ||#16066 ||2 modules||
|| 17||imports ||#16069 ||about 39 modules||
|| 22||itertools_import ||#16070 ||about 12 modules||
|| 23||itertools ||#16071 ||about 20 modules||
|| 24||long ||#16072 ||about 72 modules||
|| 25||map ||#16073 ||about 171 modules; ({{{from future_builtins
import map}}} ?) ||
|| 26||metaclass ||#16074 ||about 30 modules||
|| 29||next ||#18802 ||about 15 py modules||
|| 30||nonzero ||#16076 ||about 25 modules||
|| 31||numliterals ||#15987, #17808 ||oct and long literals||
||35b||raise traceback||#18799 ||about 3 py modules||
|| 36||raw_input ||#16077 ||3 modules||
|| 46||unicode ||#16079 ||lots of modules? ({{{from __future__ import
unicode_literals}}} ?) ||
|| 47||urllib ||#16080 ||about 16 modules||
|| 49||xrange ||#16081 ||about 293 modules changes||
|| 51||zip ||#16082 ||about 54 modules; ({{{from future_builtins
import zip}}} ?) ||
The following changes do not relate to 2to3:
|| 71||type() ||#16085 ||about 161 modules; different values of
type()function||
|| 72||write() ||#16086 ||about 79 modules; in Py3 the write()
function has a return value||
|| 73||traceback ||#16088 ||about ?? modules; tracebacks can look
different||
|| 74||file-to-open ||#16097 ||about 20 modules; replace builtin file() by
open()||
--
--
Ticket URL: <http://trac.sagemath.org/ticket/16052#comment:13>
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.