-
- Downloads
[PyROOT] Py3: Clear Python error before getting attribute
In Python3, if an error is set (e.g. because we tried to get an attribute that does not exist from an object), any subsequent get attribute operation will fail, even if the attribute is present. Clearing the error after the first (failed) attribute get solves the problem.
Please register or sign in to comment