#12342: things I don't like about the json <--> hg conversion code
----------------------------+-----------------------------------------------
   Reporter:  was           |          Owner:  tbd     
       Type:  defect        |         Status:  new     
   Priority:  critical      |      Milestone:  sage-5.0
  Component:  distribution  |       Keywords:          
Work_issues:                |       Upstream:  N/A     
   Reviewer:                |         Author:          
     Merged:                |   Dependencies:          
----------------------------+-----------------------------------------------

Comment(by was):

 The first thing I find is that this code is really bad
 {{{
 if __name__ == '__main__':
     try:
         import argparse
     except:
         alternative_cmdline_handler()
 }}}

 I'm sitting here forever trying to figure out how to use the code based on
 reading the parser stuff (since there's no guide or other documentation
 about what to do and the "make "), and finally I discover a naked
 try/except and that there is an alternative parser, which has completely
 different behavior.  Confusing.   In fact, argparse isn't even in sage-4.8
 yet (it should be in 5.0).

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