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

tzickel report at bugs.python.org
Mon Mar 16 03:17:33 EDT 2020


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

Also, in line:

https://github.com/python/cpython/blob/d07d9f4c43bc85a77021bcc7d77643f8ebb605cf/Objects/stringlib/join.h#L85

perhaps add an if to check if the backing object is really mutable ? (Py_buffer.readonly)

----------

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


More information about the Python-bugs-list mailing list