[NumPy-Tickets] [NumPy] #1588: numpy.ndarray.clip segfaults on big-endian dtype
NumPy Trac
numpy-tickets@scipy....
Thu Aug 30 22:23:53 CDT 2012
#1588: numpy.ndarray.clip segfaults on big-endian dtype
------------------------+---------------------------------------------------
Reporter: bdkern | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.7.0
Component: numpy.core | Version: 1.6.1
Keywords: |
------------------------+---------------------------------------------------
Comment(by ocertik):
Here is the stacktrace as of master
5c944b9c6915264380aa2df3dcfd0629867fbe80:
https://gist.github.com/3548633
for the following code:
{{{
import numpy
a = numpy.zeros((2,), dtype='>i2').clip(min=0)
print "OK 1"
x = a + a
print "OK 2"
y = str(x)
print "OK 3"
print y
print "OK 4"
}}}
It fails on the line "y = str(x)".
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1588#comment:6>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list