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

Bruce Merry report at bugs.python.org
Thu Mar 19 02:04:30 EDT 2020


Bruce Merry <bmerry at gmail.com> added the comment:

+tzickel I'd suggest reading the discussion in issue 36051, and maybe raising a new issue about it if you still have concerns. In short, dropping the GIL in more bytes.join cases wouldn't necessarily be wrong, but it might break code that made the assumption that bytes.join is atomic even though that's never been claimed.

----------

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


More information about the Python-bugs-list mailing list