[Python-Dev] Functions that steal references (Re: [pygame] [patch] minor memory leaks...) (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jun 17 02:25:22 CEST 2009


Christian Heimes wrote:

But it is a convenient oddity nonetheless.

What's convenient about it? Seems to me it's the opposite, since you can't just bail out if it fails, but have to decref the reference you thought it was going to take care of for you.

-- Greg



More information about the Python-Dev mailing list