Memory leak: assigning function object to instance variable

John Parkey jparkey at nospamrapidbs.com
Tue Jun 6 02:04:16 EDT 2000


Thanks for the explanations, and also to Mark Hammond and Tim Peters who
responded directly via the bug list.

In the short term I will get around this by del statements in the class
destructor.

jp


"Neil Schemenauer" <nascheme at enme.ucalgary.ca> wrote in message
news:slrn8joise.ik.nascheme at cranky.arctrix.com...
> John Parkey <jparkey at nospamrapidbs.com> wrote:
> >I have registered this bug, with code fragment below, but wondered if
> >anybody else was falling foul of memory leaks of this type.
>
> The latest version of my GC patch will prevent this leak.
> Hopefully it will be an optional feature in 1.6.
>
>     Neil
>
> --
> The internet: Learn what you know.  Share what you don't.





More information about the Python-list mailing list