`has_key` has been deprecated for a long time (http://docs.python.org/2/library/stdtypes.html#dict.has_key ). In Python 3, it's gone.