These techniques are used by Python to manage its memory.
Python's private heap section is responsible for all memory management. There is no way for the programmer to have access to this private heap. Instead, this is handled by the Python interpreter. Python Classes in Nanded
The heap space for Python objects is allocated by Python's memory management. The core API provides the programmer with coding tools.
There is also an integrated trash collector, which recycles all unused memory to make it accessible to the heap.