[NumPy-Tickets] [NumPy] #2045: Trying to delete an item from a flatiter segfaults
NumPy Trac
numpy-tickets@scipy....
Thu Feb 9 18:10:57 CST 2012
#2045: Trying to delete an item from a flatiter 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 the github repo:
{{{
(e268cfc7-ff3f-4d97-a02c-27481c8a8186)alex@alex-gaynor-
laptop:~/.virtualenvs/e268cfc7-ff3f-4d97-a02c-27481c8a8186$ 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 0x2e49910>
>>> del numpy.arange(2).flat[1]
Segmentation fault
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2045>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list