[Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators
victor.stinner at gmail.com
Tue Jun 18 03:03:07 CEST 2013
2013/6/16 Antoine Pitrou <solipsis at pitrou.net>:
> On Sun, 16 Jun 2013 01:48:06 +0200
> Victor Stinner <victor.stinner at gmail.com> wrote:
>> I just create the issue http://bugs.python.org/issue18227: "Use Python
>> memory allocators in external libraries like zlib or OpenSSL".
>> Is it possible to detect if Python is used as a standalone application
>> (the classic "python" program) or if Python is embedded? If it is
>> possible, we can modify the "global" memory allocators of a library.
> The question is why you want to do so, not how/whether to do it.
I want to be able to track the memory usage of all Python memory, even
in external libraries, and/or use a custom memory allocator, even in
More information about the Python-Dev