[Numpy-tickets] [NumPy] #550: tofile() broken on 64-bit linux

NumPy numpy-tickets@scipy....
Wed Jul 11 04:59:17 CDT 2007


#550: tofile() broken on 64-bit linux
------------------------+---------------------------------------------------
 Reporter:  myrvoll     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:          
Component:  numpy.core  |     Version:  none    
 Severity:  major       |    Keywords:          
------------------------+---------------------------------------------------
 Numpy compiled on X86_64 Fedora Core 3 SMP system under Python 2.5 and
 GCC3.4.2

 The following breaks numpy 1.0.3:

 >>> import numpy
 >>> G = numpy.zeros([30000,30000])
 >>> fh = open('foo','w')
 >>> G.tofile(fh)
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ValueError: 900000000 requested and 0 written

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


More information about the Numpy-tickets mailing list