cpython/Objects
Victor Stinner c275be5441
bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828)
When Python is compiled in debug mode, PyMem_Malloc() uses debug
hooks, but it also uses pymalloc allocator instead of malloc().
Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is
thread-safe in release mode (it's a thin wrapper to malloc() in this
case).

Modify the debug hook to use malloc() for PyMem_Malloc().
2018-12-03 12:29:29 +01:00
..
stringlib Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
abstract.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
boolobject.c
bufferobject.c consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) 2017-09-13 21:20:29 -07:00
bytearrayobject.c [2.7] bpo-34974: Do not replace unexpected errors in bytearray(). (GH-9852) (GH-9885) 2018-10-15 08:46:16 +03:00
bytes_methods.c
capsule.c
cellobject.c fix indentation of comments in cellobject.c (closes #27011) 2016-05-12 23:12:21 -07:00
classobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
cobject.c
codeobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
complexobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
descrobject.c Issue #22570: Renamed Py_SETREF to Py_XSETREF. 2016-04-06 09:51:18 +03:00
dictnotes.txt
dictobject.c bpo-18533: Avoid RuntimeError from repr() of recursive dictview (#4823) (#5357) 2018-02-27 00:35:03 +02:00
enumobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
exceptions.c consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) 2017-09-13 21:20:29 -07:00
fileobject.c coalesce GILless sections in new_buffersize (#5059) 2018-01-02 15:52:42 -08:00
floatobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
frameobject.c [2.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6111) 2018-03-13 23:06:14 +02:00
funcobject.c Issue #28139: Fix messed up indentation 2016-09-17 07:54:55 +00:00
genobject.c
intobject.c bpo-16055: Fixes incorrect error text for int('1', base=1000) (#6980) 2018-05-19 01:53:13 +02:00
iterobject.c Issue #26494: Fixed crash on iterating exhausting iterators. 2016-03-30 20:43:06 +03:00
listobject.c [2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH-4570) (#5493) 2018-02-02 16:29:02 +02:00
listsort.txt Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
lnotab_notes.txt
longobject.c bpo-16055: Fixes incorrect error text for int('1', base=1000) (#6980) 2018-05-19 01:53:13 +02:00
memoryobject.c bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154) 2017-04-15 20:11:12 +03:00
methodobject.c Issue #22463: Backport compiler warning fixes and workarounds 2016-06-21 23:58:05 +00:00
moduleobject.c [2.7] Fix misleading mentions of tp_size in comments (GH-9138) 2018-09-10 10:50:15 -07:00
object.c [2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH-4570) (#5493) 2018-02-02 16:29:02 +02:00
obmalloc.c bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828) 2018-12-03 12:29:29 +01:00
rangeobject.c consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) 2017-09-13 21:20:29 -07:00
setobject.c bpo-33391: Fix refleak in set_symmetric_difference (GH-6670) 2018-05-02 03:23:41 -07:00
sliceobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
stringobject.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
structseq.c bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154) 2017-04-15 20:11:12 +03:00
tupleobject.c [2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH-4570) (#5493) 2018-02-02 16:29:02 +02:00
typeobject.c bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9091) 2018-09-07 10:15:31 +02:00
unicodectype.c
unicodeobject.c [2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10538) 2018-11-14 11:55:07 -08:00
unicodetype_db.h
weakrefobject.c consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) 2017-09-13 21:20:29 -07:00