Why no open(f, "w").write()?
Isaac To
kkto at csis.hku.hk
Wed May 29 22:44:21 EDT 2002
>>>>> "Donn" == Donn Cave <donn at u.washington.edu> writes:
Donn> I assume finalization will eventually occur in any case, if only
Donn> at program exit, so this would only be an issue if the file is
Donn> needed before then.
No. Java explicitly says that finalization of objects are not necessarily
done before program exits. That emulates an object with an infinite
lifetime.
Regards,
Isaac.
More information about the Python-list
mailing list