[NumPy-Tickets] [NumPy] #1886: ndarray.data not compatible between python 2.7 and 3.2 versions

NumPy Trac numpy-tickets@scipy....
Wed Jun 29 09:38:37 CDT 2011


#1886: ndarray.data not compatible between python 2.7 and 3.2 versions
-------------------------------------------+--------------------------------
 Reporter:  axh                            |       Owner:  somebody   
     Type:  defect                         |      Status:  new        
 Priority:  normal                         |   Milestone:  Unscheduled
Component:  numpy.core                     |     Version:  1.5.1      
 Keywords:  compatibility, design clarity  |  
-------------------------------------------+--------------------------------

Comment(by pv):

 The memory layout of the buffer is the same as before, and it is still
 just a data buffer. It's just that the `memoryview` object knows more
 about what it stores than `buffer`, so its API is slightly different on
 the Python side.

 This is probably fixable, but the issue should not matter for most cases,
 since the `buffer` objects are usually not accessed in Python code.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1886#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list