does python have useless destructors?

Aahz aahz at
Thu Jun 10 22:56:57 CEST 2004

In article <-oadnfu_sdwTUFrdRVn-hw at>,
Peter Hansen  <peter at> wrote:
>Michael P. Soulier wrote:
>> myfile = open("myfilepath", "w")
>> myfile.write(reallybigbuffer)
>> myfile.close()
>... immediately raises a warning flag in the mind of an
>experienced Python programmer.

Depends on the circumstance, I'd think.
Aahz (aahz at           <*>

"as long as we like the same operating system, things are cool." --piranha

More information about the Python-list mailing list