[issue31473] Debug hooks on memory allocators are not thread safe (serialno variable)

2019-05-14 Thread STINNER Victor


STINNER Victor  added the comment:

Python 3.8 has been fixed. I disabled serialno field by default: 
PYMEM_DEBUG_SERIALNO is not defined by default. You have to opt-in to get this 
bug :-) I don't see any easy fix older Python versions. I close the issue.

--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31473] Debug hooks on memory allocators are not thread safe (serialno variable)

2018-12-03 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-35368: [2.7] Make PyMem_Malloc() thread-safe in debug mode.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31473] Debug hooks on memory allocators are not thread safe (serialno variable)

2018-12-03 Thread STINNER Victor


Change by STINNER Victor :


--
title: PyMem_Raw* API in debug mode are not thread safe -> Debug hooks on 
memory allocators are not thread safe (serialno variable)
versions: +Python 2.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com