J
John Nagle
I'm printing out each entry in "gc.garbage" after a garbage collection in
DEBUG_LEAK mode, and I'm seeing many entries like
<cell at 0x00F7C170: function object at 0x00FDD6B0>
That's the output of "repr". Are "cell" objects created only from
external C libraries, or can regular Python code generate them? Is there
any way to find out what the 'function object' is from within Python?
(I'm looking for a possible memory leak, obviously.)
John Nagle
DEBUG_LEAK mode, and I'm seeing many entries like
<cell at 0x00F7C170: function object at 0x00FDD6B0>
That's the output of "repr". Are "cell" objects created only from
external C libraries, or can regular Python code generate them? Is there
any way to find out what the 'function object' is from within Python?
(I'm looking for a possible memory leak, obviously.)
John Nagle