[Numpy-tickets] [NumPy] #356: array.reshape(None) segfaults

NumPy numpy-tickets at scipy.net
Thu Oct 19 17:54:24 CDT 2006

#356: array.reshape(None) segfaults
 Reporter:  dhuard                     |        Owner:  somebody   
     Type:  defect                     |       Status:  closed     
 Priority:  normal                     |    Milestone:  1.0 Release
Component:  Other                      |      Version:  devel      
 Severity:  normal                     |   Resolution:  fixed      
 Keywords:  reshape, resize, segfault  |  
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => fixed


 I'm not sure what was crashing.  I did not get crashes but just errors.
 I've done 2 things:

 1) made sure the length variable was set on exit from IntpConverter
 2) special-case None in reshape and resize to return a view and do nothing

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/356#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