Diffusion Kig 8ef1d20cb0f3

scripting: use PyErr_NormalizeException

Authored by pino on May 3 2020, 7:26 AM.

Description

scripting: use PyErr_NormalizeException

make sure the Python objects for the exception are normalized; not doing
so seems working fine with Python 2.7, however with Python 3.8 it is
needed to be able to call traceback.format_exception() later with those
objects

Details

Committed
pinoMay 3 2020, 7:26 AM
Parents
R331:c36a3ccddd6f: scripting: update Python-Kig highlight definition
Branches
Unknown
Tags
Unknown