[Python-Dev] funny leak (original) (raw)

Michael Hudson mwh@python.net
Mon, 24 Mar 2003 17:55:40 +0000


Tim Peters <tim.one@comcast.net> writes:

[me]

A quick eyeballing suggests there are a bunch more of these, but only on error returns. Possibly. If a dict setitem call fails, it's almost certainly because we're out of memory, and the program is going to die soon regardless. How much pain it's worth to die with a refcount that's not one too large is open to debate .

This occurred to me too. I don't think I care enough to do anything about it today.

Cheers, M.

-- In case you're not a computer person, I should probably point out that "Real Soon Now" is a technical term meaning "sometime before the heat-death of the universe, maybe". -- Scott Fahlman <sef@cs.cmu.edu>