[NumPy-Tickets] [NumPy] #1622: Bus error when attempting to use itemset() on a read-only memory-mapped array
NumPy Trac
numpy-tickets@scipy....
Tue Jan 4 11:37:25 CST 2011
#1622: Bus error when attempting to use itemset() on a read-only memory-mapped
array
------------------------------+---------------------------------------------
Reporter: warren.weckesser | Owner: somebody
Type: defect | Status: needs_review
Priority: normal | Milestone: 2.0.0
Component: numpy.core | Version: 1.5.0
Keywords: itemset |
------------------------------+---------------------------------------------
Changes (by jpeel):
* status: new => needs_review
Comment:
This was actually segfaulting on me rather than giving me a bus error. I
added a patch that will raise an exception saying that the 'array is not
writetable' in a similar manner to exceptions raised by other forms of
trying to set an element in a read-only memmapped array. I also took out
an extra space in one of the others exception messages nearby.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1622#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list