summaryrefslogtreecommitdiffstats
path: root/Modules/_heapqmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-12-20 22:41:38 (GMT)
committerGitHub <noreply@github.com>2017-12-20 22:41:38 (GMT)
commit31e99080f6f8cf7faaba9fe3a4e0996e49163317 (patch)
tree918783a9df15a34a36405fdf7d0809102ccd90ea /Modules/_heapqmodule.c
parent83cb778b4a3f856f2243b0f0d36fefb5c44b388f (diff)
downloadcpython-31e99080f6f8cf7faaba9fe3a4e0996e49163317.zip
cpython-31e99080f6f8cf7faaba9fe3a4e0996e49163317.tar.gz
cpython-31e99080f6f8cf7faaba9fe3a4e0996e49163317.tar.bz2
bpo-32030: Fix usage of memory allocators (#4953)
* _Py_InitializeCore() doesn't call _PyMem_SetupAllocators() anymore if the PYTHONMALLOC environment variable is not set. * pymain_cmdline() now sets the allocator to the default, instead of setting the allocator in subfunctions. * Py_SetStandardStreamEncoding() now calls _PyMem_SetDefaultAllocator() to get a known allocator, to be able to release the memory with the same allocator.
Diffstat (limited to 'Modules/_heapqmodule.c')
0 files changed, 0 insertions, 0 deletions