#13701: Replace some python2 functions with python3 compatible ones in
sage/databases
----------------------------------+-----------------------------------------
       Reporter:  aapitzsch       |         Owner:  was                
           Type:  enhancement     |        Status:  needs_review       
       Priority:  major           |     Milestone:  sage-5.6           
      Component:  databases       |    Resolution:                     
       Keywords:  python3         |   Work issues:                     
Report Upstream:  N/A             |     Reviewers:  Karl-Dieter Crisman
        Authors:  André Apitzsch  |     Merged in:                     
   Dependencies:                  |      Stopgaps:                     
----------------------------------+-----------------------------------------
Changes (by kcrisman):

  * reviewer:  => Karl-Dieter Crisman


Old description:

> Moving forward to Python 3.
>
> Execute
> {{{
> 2to3 -f has_key -f except -f idioms -f ne -f raise -f print
> }}}
> for each *.py in sage/databases.

New description:

 Moving forward to Python 3.

 Execute
 {{{
 2to3 -f has_key -f except -f idioms -f ne -f raise -f print
 }}}
 for each *.py in sage/databases.

 '''Apply''' [attachment:trac_13701.2.patch].

--

Comment:

 I've rebased.  Patchbot, apply trac_13701.2.patch

 Note also that conv.py has zero doctests - who knows what that code is
 really up to?  Among other things, it refers to
 {{{
 PATH = SAGE_ROOT + "/src/tables/modular/gamma0/db/"
 }}}
 which clearly makes no sense.  In fact, the only touches of this code in
 AGES have been essentially auto-produced.  I'm going to ask on sage-devel
 about this, in fact.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13701#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to