Mercurial > cpython-lru_cache-weakref
comparison Python/getversion.c @ 84490:18bb92b0c458
Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization
* Replace malloc() with PyMem_RawMalloc()
* Replace PyMem_Malloc() with PyMem_RawMalloc() where the GIL is not held.
* _Py_char2wchar() now returns a buffer allocated by PyMem_RawMalloc(), instead
of PyMem_Malloc()
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Sun, 07 Jul 2013 16:25:15 +0200 |
| parents | 9f2fbee420da |
| children |
comparison
equal
deleted
inserted
replaced
| 84489:213d6d7f5979 | 84490:18bb92b0c458 |
|---|
