Author vstinner
Recipients benjamin.peterson, christian.heimes, davide.rizzo, davin, inada.naoki, vstinner
Date 2019-03-06.16:40:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551890434.58.0.00997788210475.issue36139@roundup.psfhosted.org>
In-reply-to
Content
"""
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().
History
Date User Action Args
2019-03-06 16:40:34vstinnersetrecipients: + vstinner, christian.heimes, benjamin.peterson, inada.naoki, davide.rizzo, davin
2019-03-06 16:40:34vstinnersetmessageid: <1551890434.58.0.00997788210475.issue36139@roundup.psfhosted.org>
2019-03-06 16:40:34vstinnerlinkissue36139 messages
2019-03-06 16:40:34vstinnercreate