This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients jason.haslam, pablogsal, tomasheran
Date 2020-09-29.21:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> FWIW, I believe that you have to call `PyErr_NormalizeException` on the values returned from `PyErr_Fetch`. It looks like this is working as expected.

Indeed that is the case, from the docs:

Under certain circumstances, the values returned by PyErr_Fetch() below can be “unnormalized”, meaning that *exc is a class object but *val is not an instance of the same class. This function can be used to instantiate the class in that case. If the values are already normalized, nothing happens. The delayed normalization is implemented to improve performance.
Date User Action Args
2020-09-29 21:54:35pablogsalsetrecipients: + pablogsal, tomasheran, jason.haslam
2020-09-29 21:54:35pablogsalsetmessageid: <>
2020-09-29 21:54:35pablogsallinkissue35103 messages
2020-09-29 21:54:35pablogsalcreate