Remove as much Python code as possible that has been deprecated moving forward to new versions. In some cases due to relying on 2.5 we cannot move up but in cases where we can there is little excuse. This includes but is not limited to:
md5=>hashlib
string=>str
dict.has_key=>in operator
dict.keys in iterator context (e.g., "for" loop) to just dict
Some of these have some minor performance improvements as a nice side affect.
Anonymous