[Numpy-tickets] [NumPy] #575: fast putmask implementation does not work on big-endian systems

NumPy numpy-tickets@scipy....
Sat Aug 25 17:06:03 CDT 2007


#575: fast putmask implementation does not work on big-endian systems
------------------------+---------------------------------------------------
 Reporter:  chanley     |        Owner:  stefan       
     Type:  defect      |       Status:  assigned     
 Priority:  highest     |    Milestone:  1.0.4 Release
Component:  numpy.core  |      Version:  devel        
 Severity:  blocker     |   Resolution:               
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by stefan):

  * status:  new => assigned

Comment:

 This problem used to occur, we just didn't have a test to catch it.  To
 reproduce on other machines:

 {{{
 In [21]:x = N.array([1,2], dtype=('>i4'))

 In [22]:N.putmask(x, [True, False], 3)

 In [23]:x
 Out[23]:array([50331648,        2])
 }}}

 I'll remove the test for now, until I have time to fix this.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/575#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list