[issue39974] A race condition with GIL releasing exists in stringlib_bytes_join

tzickel report at bugs.python.org
Wed Mar 18 02:42:06 EDT 2020


tzickel <icebreak at yahoo.com> added the comment:

Regarding getting the buffer and releasing the GIL, if it's wrong, why not fix other places in the code that do it, like:

https://github.com/python/cpython/blob/611836a69a7a98bb106b4d315ed76a1e17266f4f/Modules/posixmodule.c#L9619

The GIL is released, the syscall might be blocking, and iov contains pointers to buffers ?

----------

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


More information about the Python-bugs-list mailing list