Why does this leak memory?
no at spam.com
Fri Jun 8 18:02:39 CEST 2012
> "John Gordon" wrote in message news:jqr3v5$src$1 at reader1.panix.com...
> I'm unfamiliar with gc output, but just glancing over it I don't see
> anything that looks like a leak. It reported that there were 19 objects
> which are unreachable and therefore are candidates for being collected.
> What makes you think there is a leak?
Well, I guess I was confused by the terminology. I thought there were leaked
objects _after_ a garbage collection had been run (as it said "collecting
generation 2"). Also, "unreachable" actually appears to mean "unreferenced".
You live n learn...
More information about the Python-list