
None in "abc" Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: coercing to Unicode: need string or charbuffer
now that's an interesting error message. I think the old one was better ;-) </F>

Fredrik Lundh wrote:
None in "abc" Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: coercing to Unicode: need string or charbuffer
now that's an interesting error message. I think the old one was better ;-)
How come you're always faster on this than I am with my patches ;-) The above is already fixed in my local version (together with some other minor stuff I found in the codec error handling) with the next patch set. It will then again produce this output:
None in "abc" Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: string member test needs char left operand
BTW, my little "don't use tabs use spaces" in C code extravaganza was a complete nightmare... diff just doesn't like it and the Python source code is full of places where tabs and spaces are mixed in many different ways... I'm back to tabs-indent-mode again :-/ -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/

"M.-A. Lemburg" wrote:
BTW, my little "don't use tabs use spaces" in C code extravaganza was a complete nightmare... diff just doesn't like it and the Python source code is full of places where tabs and spaces are mixed in many different ways... I'm back to tabs-indent-mode again :-/
Isn't this ignorable with the diff -b switch? ciao - chris -- Christian Tismer :^) <mailto:tismer@appliedbiometrics.com> Applied Biometrics GmbH : Have a break! Take a ride on Python's Kaunstr. 26 : *Starship* http://starship.python.net 14163 Berlin : PGP key -> http://wwwkeys.pgp.net PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF where do you want to jump today? http://www.stackless.com
participants (3)
-
Christian Tismer
-
Fredrik Lundh
-
M.-A. Lemburg