[Numpy-tickets] [NumPy] #505: fromfile does not work with files opened with gzip

NumPy numpy-tickets@scipy....
Tue Apr 24 14:07:23 CDT 2007


#505: fromfile does not work with files opened with gzip
---------------------------+------------------------------------------------
 Reporter:  mesmith        |        Owner:  somebody
     Type:  defect         |       Status:  closed  
 Priority:  normal         |    Milestone:          
Component:  numpy.core     |      Version:  none    
 Severity:  normal         |   Resolution:  wontfix 
 Keywords:  fromfile gzip  |  
---------------------------+------------------------------------------------
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 fromfile is very low-level.  It only works with objects that can be
 considered FILE objects on the operating system level.

 Use fromstring with StringIO in order to read from gzip files or the
 recently added loadtxt command.

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


More information about the Numpy-tickets mailing list