#14629: Upgrade and clean up sqlite package
--------------------------------------+-------------------------------------
       Reporter:  jdemeyer            |         Owner:  jdemeyer    
           Type:  enhancement         |        Status:  needs_review
       Priority:  major               |     Milestone:  sage-5.10   
      Component:  packages: standard  |    Resolution:              
       Keywords:  sqlite package      |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:              
        Authors:  Jeroen Demeyer      |     Merged in:              
   Dependencies:                      |      Stopgaps:              
--------------------------------------+-------------------------------------

Comment (by fbissey):

 Funny that. We did face the upgrade in sage-on-gentoo in sage 5.8 and we
 had the same issue. Christopher was supposed to open a ticket with his
 solution but he never did.

 {{{
 --- sage/databases/cremona.py.orig      2013-02-19 10:33:56.000000000
 +0000
 +++ sage/databases/cremona.py   2013-03-18 16:51:58.950097433 +0000
 @@ -634,19 +634,19 @@

              sage: it = CremonaDatabase().__iter__()
              sage: it.next().label()
 -            '11a1'
 +            '1001a1'
              sage: it.next().label()
 -            '11a2'
 +            '1001b1'
              sage: it.next().label()
 -            '11a3'
 +            '1001b2'
              sage: it.next().label()
 -            '14a1'
 +            '1001b3'
              sage: skip = [it.next() for _ in range(100)]
              sage: it.next().label()
 -            '45a3'
 +            '1014g2'
          """
          for c in self.__connection__.cursor().execute('SELECT curve FROM
 ' \
 -            + 't_curve'):
 +            + 't_curve ORDER BY curve'):
              yield self.elliptic_curve(c[0])

      def __getitem__(self, N):
 }}}
 Anyway, your solution looks good too. One concern we had: is it fast?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14629#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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to