[issue45819] Avoid releasing the GIL in nonblocking socket operations

Christian Heimes report at bugs.python.org
Tue Nov 16 16:44:22 EST 2021


Christian Heimes <lists at cheimes.de> added the comment:

Do POSIX and Windows APIs guarantee that operations on a nonblocking socket can never ever block?

We cannot safely keep the GIL unless you can turn "nonblocking socket operations by definition shouldn't block" into "standard guarantees that nonblocking socket operations never block".

----------
nosy: +christian.heimes

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45819>
_______________________________________


More information about the Python-bugs-list mailing list