The fix for
IMPALA-9398 introduced a small regression with regard to python 3 compatibility. We don't have python 3 tests yet to catch regression of this this type, and it was missed in code review.
The regression happens in two places. An example is:
The syntax for catching exceptions has changed in python 3 to require the "as" keyword.