commit | ee6c3c7162dee452dc42d9a1001bf1a0a1e15f26 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Sep 11 17:50:21 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Sep 11 17:50:21 2014 +0200 |
tree | 4d3622954cbe18234e2525ede2e4cf5bbede1a25 | |
parent | a1b16bab2fc389813d042fe1d0c3d4d38d1bbb9b [diff] |
Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinter The PyMem_Malloc(size) function has a well defined behaviour: if size is 0, a pointer different than NULL is returned. PyMem_Malloc() allocations are tracked by tracemalloc, attemptckalloc() allocations are not tracked.