bpo-32030: Rework memory allocators by vstinner · Pull Request #4625 · python/cpython (original) (raw)

vstinner

https://bugs.python.org/issue32030

@vstinner

@vstinner vstinner changed the titlebpo-32030: Fix _PyMem_SetupDebugHooks() bpo-32030: Rework memory allocators

Nov 29, 2017

@vstinner

I tested manually the PR. I ran "test_sys test_cmd_line test_capi" tests in these configurations:

@vstinner

Add the _testcapi.WITH_PYMALLOC constant and expose it as support.with_pymalloc().

sysconfig.get_config_var('WITH_PYMALLOC') doesn't work on Windows, so replace it with support.with_pymalloc().

@vstinner