[NumPy-Tickets] [NumPy] #1634: numpy.fromfile does not accept StringIO object
NumPy Trac
numpy-tickets@scipy....
Thu Oct 28 14:28:20 CDT 2010
#1634: numpy.fromfile does not accept StringIO object
-------------------------+--------------------------------------------------
Reporter: foobaron | Owner: somebody
Type: enhancement | Status: new
Priority: low | Milestone: 2.0.0
Component: numpy.core | Version: 1.3.0
Keywords: |
-------------------------+--------------------------------------------------
Changes (by pv):
* priority: normal => low
* type: defect => enhancement
* component: Other => numpy.core
Old description:
> aArray = numpy.fromfile(signalfile, numpy.dtype('u1'), number_of_bytes)
>
> signalfile = <StringIO.StringIO instance at 0xa0008ec>1
> -->
> IOError: first argument must be an open file
>
> used python version: 2.6.5
New description:
aArray = numpy.fromfile(signalfile, numpy.dtype('u1'), number_of_bytes)
signalfile = <StringIO.StringIO instance at 0xa0008ec>1
-->
IOError: first argument must be an open file
used python version: 2.6.5
--
Comment:
Ditto for tofile.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1634#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list