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

> Before take_gil() knows whether it has to do any work

I thought we had a check for when the GIL was not even initialized, but that 
doesn't seem to exist in master any more.

Preserving GetLastError() at the same place we do errno is probably sufficient. 
There shouldn't be any more of a performance penalty (and maybe we don't have 
to preserve errno on Windows? That will save a TLS lookup at least)

----------

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

Reply via email to