python 1.5.2 memory leak?

Taz tariq.rashid at iname.com
Fri Nov 17 15:16:48 CET 2000


i don't del the re-used vasriables eg

    while 1:
        a = something
        other stuff

i don;t think i need to del a at the end of the loop do i?

thanks for the thoughts

Gene C <gchiaramonte at yahoo.com> wrote in message
news:EY9R5.719$n9.128801 at newsread2.prod.itd.earthlink.net...
> You could try using del, but I doubt it will matter.
>
> >>> n = "abc"
> >>> del n
> >>> n
> Traceback (innermost last):
>   File "<interactive input>", line 1, in ?
> NameError: n
> >>>
>
>





More information about the Python-list mailing list