Re: [Numpy-discussion] fromfile and ticket #1152

2009-06-27 Thread Pauli Virtanen
On 2009-06-27, Jed Ludlow wrote: > Of course, this discussion isn't new, and I don't know that it needs to be > completely rehashed. See > > http://mail.scipy.org/pipermail/numpy-discussion/2009-May/042668.html Especially this: http://mail.scipy.org/pipermail/numpy-discussion/2009-May/

Re: [Numpy-discussion] fromfile and ticket #1152

2009-06-27 Thread Jed Ludlow
Charles R Harris gmail.com> writes: > > The question is: what should happen when fewer items are read than > requested. The current behaviour is > > 1) Error message written to stderr (needs to be fixed) > 2) If 0 items are read then nomemory error is raised ;) > > So, should a warning be rais

[Numpy-discussion] fromfile and ticket #1152

2009-06-26 Thread Charles R Harris
The question is: what should happen when fewer items are read than requested. The current behaviour is 1) Error message written to stderr (needs to be fixed) 2) If 0 items are read then nomemory error is raised ;) So, should a warning be raised and an array returned with however many items were r