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 external libraries. Victor
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4