In <[EMAIL PROTECTED]>, John Machin
wrote:
> Marc 'BlackJack' Rintsch wrote:
>
>> Because you are trying to compare a unicode string `val` with a byte
>> string in the list. The unicode string will be converted to a byte string
>> for this comparison with the default encoding: ASCII.
>
> :-)
>
> I presume you must live north of the equator. Down under, it seems to
> happen the other way up -- the byte strings are decoded to unicode:
(-: Ooops, I stand corrected. :-)
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list