Re: [Numpy-discussion] parsing text strings/files in fromfile, fromstring

2009-05-25 Thread Christopher Barker
Charles R Harris wrote: > I am trying to put together some rule for parsing text strings/files in > fromfile, fromstring so that the two are consistent. Thanks for giving these some attention -- they've needed it for a while! > 1) When the string/file is empty fromfile returns and empty array, s

Re: [Numpy-discussion] parsing text strings/files in fromfile, fromstring

2009-05-24 Thread Charles R Harris
On Sun, May 24, 2009 at 5:28 PM, Pauli Virtanen wrote: > Sun, 24 May 2009 14:29:42 -0600, Charles R Harris wrote: > > I am trying to put together some rule for parsing text strings/files in > > fromfile, fromstring so that the two are consistent. Tickets relevant to > > this are #1116

Re: [Numpy-discussion] parsing text strings/files in fromfile, fromstring

2009-05-24 Thread Pauli Virtanen
Sun, 24 May 2009 14:29:42 -0600, Charles R Harris wrote: > I am trying to put together some rule for parsing text strings/files in > fromfile, fromstring so that the two are consistent. Tickets relevant to > this are #1116 and > #883

Re: [Numpy-discussion] parsing text strings/files in fromfile, fromstring

2009-05-24 Thread Stéfan van der Walt
2009/5/24 Charles R Harris : > fromstring : > > In [5]: fromstring("", sep=" ") > Out[5]: array([ 0.]) I would expect an empty array here. Stéfan ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-d

[Numpy-discussion] parsing text strings/files in fromfile, fromstring

2009-05-24 Thread Charles R Harris
Hi All, I am trying to put together some rule for parsing text strings/files in fromfile, fromstring so that the two are consistent. Tickets relevant to this are #1116 and #883. The question here is the inter