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/021251.html below:

[Python-Dev] Activating pymalloc

[Python-Dev] Activating pymalloc [Python-Dev] Activating pymallocMartin v. Loewis martin@v.loewis.de
15 Mar 2002 21:23:14 +0100
Tim Peters <tim.one@comcast.net> writes:

> In the other direction, e.g.,
> 
>    PyObject_New ->
>    _PyObject_New ->
>    PyObject_MALLOC ->
>    PyCore_OBJECT_MALLOC ->
>    PyCore_OBJECT_MALLOC_FUNC,
>        and we're back in the macro chain traced above
> 
> There's just no sane way to say "give me obmalloc.c's malloc".

I may be missing something, but won't PyObject_Malloc (or
PyObject_MALLOC if you prefer macros) have precisely this effect?

It's the object allocator you are then talking to (and I withdraw my
earlier claim that nobody wants to call this directly).

Regards,
Martin



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