STINNER Victor <vstin...@redhat.com> added the comment:

"""
r263026496">https://github.com/python/cpython/pull/12073/files#r263026496
"""

Oh wow, that's really strange. I'm sure that I wrote "https://..."; URL but my 
URL became "r263026496">https://..."; !?

3rd attempt to post the link:
https://github.com/python/cpython/pull/12073/files#r263026496

Anyway, my link points to my comment:

"""


PyMem_Free(m_obj->tagname) is called below without holding the GIL: that's 
illegal. Other move the call to free when the GIL is hold again, or use 
PyMem_RawFree().

"Warning: The GIL must be held when using these functions. "
https://docs.python.org/dev/c-api/memory.html#memory-interface

Note: You can use PYTHONMALLOC=debug or -X dev to reproduce the issue on a 
Python compiled in release mode.
"""

On the #ifdef MS_WINDOWS path of mmap_object_dealloc().

----------

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

Reply via email to