#18581: _package_lists_from_sage_output() should output installed and available
versions
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  misc               |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  John Palmieri      |    Reviewers:  Jeroen Demeyer
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jhpalmieri/versions              |  61a40761c68b5b054ff86a0d8d4102556b9dcf58
   Dependencies:  #18456             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 What's the point of this complication?
 {{{
 urlexec=os.path.join(os.path.dirname(sys.argv[0]), "sage-download-file")
 MIRROR_URL = os.popen(urlexec+" --print-fastest-mirror").read().strip()
 }}}

 Why not simply
 {{{
 MIRROR_URL = os.popen("sage-download-file --print-fastest-
 mirror").read().strip()
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18581#comment:37>
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.

Reply via email to