A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021590.html below:

[Python-Dev] Debug entry points for PyMalloc

[Python-Dev] Debug entry points for PyMalloc [Python-Dev] Debug entry points for PyMallocTim Peters tim.one@comcast.net
Thu, 21 Mar 2002 18:07:30 -0500
[Guido]
>>> Rather than trying to mimic this in pymalloc, isn't it easier to have
>>> a way to go back to the platform malloc?

[Tim]
>> We have one already:  turn off pymalloc.

[Martin v. Loewis]
> Notice that this is possible both at compile time and at run-time; it
> seems that you were thinking of the compile-time option, whereas Guido
> was asking for the run-time option.

After some number of calls to, e.g., PyObject_New, you can't just switch
allocators in midstream, lest the eventual attempt to free the object hand
the address off to a different allocator than was used to obtain the memory.
Or maybe I have no idea what you're trying to say?




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