[Numpy-tickets] [NumPy] #884: fromfile and fromstring locale dependency

NumPy numpy-tickets@scipy....
Tue Dec 30 13:16:17 CST 2008


#884: fromfile and fromstring locale dependency
-----------------------+----------------------------------------------------
 Reporter:  pv         |        Owner:  cdavid
     Type:  defect     |       Status:  new   
 Priority:  normal     |    Milestone:  1.3.0 
Component:  numpy.lib  |      Version:  none  
 Severity:  normal     |   Resolution:        
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by pv):

 Oops, it seems that we can't fully trust PyOS_ascii_strtod to be locale-
 independent either, at least on python2.5. Consider string ``1,234``.
 Under C locale, this is parsed to 1, but under fr_FR nothing is parsed.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/884#comment:5>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list