Py3Migration: replace StandardError Exception
Py3Migration: replace dict.iteritems method
Py3Migration: use __future__ import
Py3Migration: Refactoring __hash__