[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
- Previous message: [Python-Dev] Functions that steal references (Re: [pygame] [patch] minor memory leaks...)
- Next message: [Python-Dev] Functions that steal references (Re: [pygame] [patch] minor memory leaks...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Functions that steal references (Re: [pygame] [patch] minor memory leaks...)
- Next message: [Python-Dev] Functions that steal references (Re: [pygame] [patch] minor memory leaks...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]