[NumPy-Tickets] [NumPy] #2228: ABI change in 1.6.1

NumPy Trac numpy-tickets@scipy....
Tue Oct 16 13:45:39 CDT 2012

#2228: ABI change in 1.6.1
 Reporter:  michael.s.gilbert@…          |       Owner:  somebody   
     Type:  defect                       |      Status:  new        
 Priority:  normal                       |   Milestone:  Unscheduled
Component:  numpy.core                   |     Version:  1.6.1      
 Keywords:                               |  
 Hi, an undocumented ABI change is present in numpy 1.6.1.  This at least
 affects the Scientific.IO.NetCDF module.  numpy should get an ABI bump for

 So for Scientific built against numpy 1.5.1, the following demonstrates
 the problem:

 apt-get install python-scientific python-netcdf
 python -c "import numpy as np; import Scientific.IO.NetCDF as nc; ncf =
 nc.NetCDFFile('t.nc','w'); ncf.createDimension('dim2', 2);
 ncf.createDimension('n',2); sym =
 ncf.createVariable('d','c',('n','dim2')); sym[:] = [' C', ' O']; print
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
 ValueError: could not convert string to float: C

 you should get:
 [[' ' 'C']
  [' ' 'O']]

 This is from debian bug report:

Ticket URL: <http://projects.scipy.org/numpy/ticket/2228>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list