#11424: Build Integer from Unicode
--------------------------------+-------------------------------------------
   Reporter:  vdelecroix        |          Owner:  vdelecroix       
       Type:  defect            |         Status:  new              
   Priority:  major             |      Milestone:  sage-4.7.1       
  Component:  basic arithmetic  |       Keywords:  Integer, unicode 
Work_issues:                    |       Upstream:  N/A              
   Reviewer:                    |         Author:  Vincent Delecroix
     Merged:                    |   Dependencies:                   
--------------------------------+-------------------------------------------
 Currently, Sage fails to build Integer from Unicode
 {{{
 sage: Integer(u'1')
 TypeError Traceback (most recent call last)
 ...
 TypeError: unable to coerce <type 'unicode'> to an integer
 }}}

 The two lines patch attached to this ticket, allow such feature
 {{{
 sage: Integer(u'1')
 1
 }}}

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