Menu

#16 Remove deprecated Python

open
nobody
None
5
2013-03-09
2013-03-09
Uzume
No

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.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo