Steve Dower <steve.do...@python.org> added the comment:

If the GIL is not held, no exception should be raised, so the fact that you've 
got one there means that the GIL is held and the main.c-specific error message 
is the bit that's wrong.

So it should be, "if they fail and you're in a context where exceptions are 
allowed, raise an exception" (which will chain back to the one raised from an 
audit hook".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42569>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to