[NumPy-Tickets] [NumPy] #2044: Trying to delete ndarray.flat from an instance segfaults

NumPy Trac numpy-tickets@scipy....
Thu Feb 9 18:09:01 CST 2012


#2044: Trying to delete ndarray.flat from an instance segfaults
----------------------------+-----------------------------------------------
 Reporter:  alex_gaynor     |       Owner:  somebody   
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  numpy.numarray  |     Version:  devel      
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Tested at the latest master of numpy from github:

 {{{
 (e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc)alex@alex-gaynor-
 laptop:~/.virtualenvs/e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc$ python
 Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
 [GCC 4.6.1] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.arange(2)
 array([0, 1])
 >>> numpy.arange(2).flat
 <numpy.flatiter object at 0x2ea3800>
 >>> del numpy.arange(2).flat
 Segmentation fault
 }}}

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


More information about the NumPy-Tickets mailing list