[Numpy-tickets] [NumPy] #981: problem with locales

NumPy numpy-tickets@scipy....
Thu Jan 8 17:05:06 CST 2009

#981: problem with locales
 Reporter:  chanley     |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  1.3.0   
Component:  numpy.core  |      Version:  none    
 Severity:  normal      |   Resolution:          
 Keywords:              |  
Comment (by rkern):

 The cause of the problem is that {{{locale.format_string()}}} uses
 {{{operator.isMappingType()}}} (in C: {{{PyMapping_Check}}}) to see if the
 value is dictlike in order to support the {{{'%(foo)s'}}} kind of format
 strings. numpy scalars pass this test because they support indexing with

 I don't think we can really fix this one.

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

More information about the Numpy-tickets mailing list