[Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys

skip at pobox.com skip at pobox.com
Tue Aug 8 21:33:58 CEST 2006


    Martin> Programmers make all kinds of mistakes when comparing objects,
    Martin> assuming that things ought to be equal that actually aren't:

    py> 1.6/math.pi*math.pi == 1.6
    False

By extension, perhaps Computer Science departments should begin offering
Unicode Analysis as an advanced undergraduate class. ;-)

(Sorry, couldn't resist...)

Skip


More information about the Python-Dev mailing list