Language change and code breaks (fwd)
Skip Montanaro
skip at pobox.com
Sat Jul 21 18:54:09 EDT 2001
>> That does bring up the subject of machine-generated symbols though.
>> And case sensitivity in dictionaries. I use base52 [A-Za-z] encoded
>> md5's in certain contexts. If I use those as keys, will it break?
kosh> Losing case sensitivity in dictionaries would screw me pretty
kosh> badly also.
I think case-sensitivity as we are discussing in this thread runs only to
identifier and attribute names, not the contents of strings, so while
date = 1
DATE += 1
print Date
should print "2" by my understanding,
dict = {"date": 1,
"DATE": 2,
"Date": 3}
would create a dictionary of length 3.
--
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/
More information about the Python-list
mailing list