> Jup, but the problem is in this case a Python problem. > There must be a bug in the unicode_compare() code in unicodeobject.c. > because it returns of the testcase a wrong value to try_3way_compare() > for identical unicode strings. Are you *sure* it's not comparing a Unicode string to an 8-bit string? --Guido van Rossum (home page: http://www.python.org/~guido/)