#18110: Improve "unable to convert string" error message
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  user interface     |   Resolution:
       Keywords:  sd66               |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/improve__unable_to_convert_string__error_message|  
abc5a70de3fd3007fc603fdf378164c4e31a3967
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 Only one question:
 {{{
 +        if isinstance(x, basestring):
 +            from sage.misc.sage_eval import sage_eval
 }}}
 but there is no corresponding import for `y`, so in theory there could be
 some situation where `x` wasn't a basestring (whatever that is) but `y`
 was.  ?  Otherwise looks good.

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