[Python-Dev] unicode hell/mixing str and unicode as dictionary keys

John J Lee jjl at pobox.com
Thu Aug 3 19:45:23 CEST 2006


On Thu, 3 Aug 2006, M.-A. Lemburg wrote:
[...]
> It's actually a good preparation for Py3k where 1 == u'abc' will
> (likely) also raise an exception.

I though I'd heard (from Guido here or on the py3k list) that it was only 
1 < u'abc' that would raise an exception, and that 1 == u'abc' would still 
evaluate to False.  Did I misunderstand?


John


More information about the Python-Dev mailing list