Skip to content

AthenaPython: Fix py3 exception reporting.

When the python code we call gets an exception, we report it by calling PyErr_Print. But with python 3, we need to explicitly flush sys.stderr afterwards; otherwise, the python traceback may never be printed.

Merge request reports

Loading