Unicode and dictionaries
steve at REMOVE-THIS-cybersource.com.au
Sun Jan 17 11:28:57 CET 2010
On Sun, 17 Jan 2010 10:49:44 +0100, Martin v. Loewis wrote:
>> This ought to be a bug; objects that compare equal and are hashable
>> must have the same hash code.
> It's not a bug. Changing the default encoding is not really supported,
> let alone changing it to anything but latin-1, precisely for the reasons
> you discuss.
> If you do change the default encoding, Python *will* break. This has
> been discussed many times, but some people still think they know better.
That's specific to CPython though, isn't it? Other implementations may,
or may not, cope with it better?
More information about the Python-list