Re: [Numpy-discussion] array.tofile() refuses to write into a StringIO

2011-09-25 Thread Chris.Barker
> On 25.09.2011 18:23, OC wrote: >> as said in the subject, the following code produces an error. Is it normal ? >> >> ** >> A = r_[1] >> file_buffer = StringIO() >> A.tofile(file_buffer) >> >> IOError: first argument must be a string or open

Re: [Numpy-discussion] array.tofile() refuses to write into a StringIO

2011-09-25 Thread Pauli Virtanen
On 25.09.2011 18:23, OC wrote: > as said in the subject, the following code produces an error. Is it normal ? > > ** > A = r_[1] > file_buffer = StringIO() > A.tofile(file_buffer) > > IOError: first argument must be a string or open file > ***

[Numpy-discussion] array.tofile() refuses to write into a StringIO

2011-09-25 Thread OC
Hello, as said in the subject, the following code produces an error. Is it normal ? ** A = r_[1] file_buffer = StringIO() A.tofile(file_buffer) IOError: first argument must be a string or open file **

Re: [Numpy-discussion] Ticket review process

2011-09-25 Thread Hrvoje Nikšić
Thanks for the info. I've now created a pull request for https://github.com/hniksic/numpy/commit/88971ce96e7137b17fd93cf5a3e6409f91d4d2ff Hrvoje ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-dis