[Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys (original) (raw)
skip at pobox.com skip at pobox.com
Tue Aug 8 21:33:58 CEST 2006
- Previous message: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys
- Next message: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys
- Next message: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]