Re: [Numpy-discussion] np.fromstring and Python 3

2010-07-26 Thread Thomas Robitaille
Pauli Virtanen-3 wrote: > > That's a bug. It apparently implicitly encodes the Unicode string you > pass in to UTF-8, instead of trying to encode in ASCII and fail, like it > does on Python 2: > Thanks! Should I file a bug report? Cheers, Tom -- View this message in context: http://old.n

Re: [Numpy-discussion] np.fromstring and Python 3

2010-07-25 Thread Pauli Virtanen
Sun, 25 Jul 2010 10:17:53 -0400, Thomas Robitaille wrote: > The following example illustrates a problem I'm encountering a problem > with the np.fromstring function in Python 3: > > Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18) [GCC 4.0.1 (Apple Inc. > build 5493)] on darwin Type "help", "copy

[Numpy-discussion] np.fromstring and Python 3

2010-07-25 Thread Thomas Robitaille
Hi, The following example illustrates a problem I'm encountering a problem with the np.fromstring function in Python 3: Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> impo