use modern 'except FooErr as bar:' syntax
Merge pull request #8655 from hulu/use-except-as

use modern 'except FooErr as bar:' syntax