Python 3 compatibility: raise syntax
Python 3 compatibility: base exception class
Python 3 compatibility: urllib usage
Python 3 compatibility: dictionaries are iterated in arbitrary order