Steve Dower <steve.do...@python.org> added the comment:
> reveals an expectation that Py_END_ALLOW_THREADS won't change the results of > GetLastError() Fantastic work, Jeff! That's almost certainly the major problem there - Py_END_ALLOW_THREADS can totally change the error code, and we haven't ever done a full sweep to check it. Feel free to send a PR against issue29871 with your changes. If the tests are happy, then I am too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com