> 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. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list