Benjamin Dauvergne
23035115a3
Lasso log using the GLib logging API and the Python binding install a hook to delegate logging to a Python logger named "lasso". During the logging call the error indicator can be set to signal an exception. The indicator will still be set when we return from the Lasso API call, and is not handled by the Python wrapping of the C functions. If our function returns a non-NULL value, the Python interpreter will raise because this situation is forbidden. To prevent it, if we detect that an exception occurred during logging calls, we print it to stderr, clear the error indicator and return immediately. |
||
---|---|---|
.. | ||
java | ||
perl | ||
php5 | ||
php7 | ||
python | ||
utility-scripts | ||
Makefile.am | ||
bindings.py | ||
ghashtable.h | ||
overrides.xml | ||
utils.c | ||
utils.py |