PY3 raise Exception Fixes