[Numpy-tickets] [NumPy] #551: numpy.ndarray messed up after unpickling

NumPy numpy-tickets@scipy....
Sun Apr 13 02:28:40 CDT 2008


#551: numpy.ndarray messed up after unpickling
---------------------------------------+------------------------------------
 Reporter:  cotackst                   |        Owner:  somebody
     Type:  defect                     |       Status:  new     
 Priority:  normal                     |    Milestone:  1.0.5   
Component:  numpy.core                 |      Version:  1.0.1   
 Severity:  critical                   |   Resolution:          
 Keywords:  pickle, ndarray, segfault  |  
---------------------------------------+------------------------------------
Comment (by charris):

 Since creating arrays from user supplied memory is a feature, maybe we
 should check and return an error if the supplied memory is not aligned.
 For our own use we have David's allocator.


 {{{
 ptr += (((long)ptr) % align) + offset;
 }}}


 That doesn't look right.

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


More information about the Numpy-tickets mailing list