Backport r54762: exceptions are no longer old-style instances.
Backport r54762: exceptions are no longer old-style instances.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator