]> granicus.if.org Git - python/commit
Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup()
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 21:30:24 +0000 (23:30 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 21:30:24 +0000 (23:30 +0200)
commit49fc8ece8172162510890f42127d2aa4e13f878b
tree798c7555b232e40e607ec1b01cec87687515cf57
parent6f8eeee7b9cae7e3f899c89baefe9acc575f2fb5
Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup()

Replace strdup() with _PyMem_RawStrdup() or _PyMem_Strdup(), depending if the
GIL is held or not.
Include/pymem.h
Modules/_cursesmodule.c
Modules/_pickle.c
Modules/faulthandler.c
Modules/main.c
Modules/python.c
Objects/obmalloc.c
Python/pythonrun.c