#16069: Python 3 preparation: Handle module renames (e.g. in imports)
-------------------------------+------------------------
       Reporter:  wluebbe      |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.4
      Component:  python3      |   Resolution:
       Keywords:  python3      |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------
Description changed by chapoton:

Old description:

> Sage is mainly hit by the renaming of the Py2 module {{{__builtin__}}}
> into {{builtins}}} in Py3. Others are e.g. {{{cPickle}}},
> {{{copy_reg}}}, {{{StringIO}}}, {{{cStringIO}}} and {{{httplib}}}.
>
> The tool 2to3 renames the modules.
> [[br]]
> But the code has to depend on the Python version!
>
> There are 39 effected modules.
>
> This ticket is tracked as a dependency of meta-ticket ticket:16052.

New description:

 Sage is mainly hit by the renaming of the Py2 module {{{__builtin__}}}
 into {{{builtins}}} in Py3. Others are e.g. {{{cPickle}}},
 {{{copy_reg}}}, {{{StringIO}}}, {{{cStringIO}}} and {{{httplib}}}.

 The tool 2to3 renames the modules.
 [[br]]
 But the code has to depend on the Python version!

 There are 39 effected modules.

 This ticket is tracked as a dependency of meta-ticket ticket:16052.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16069#comment:4>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to