fork after creating temporary file using NamedTemporaryFile

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu Jul 17 01:31:37 EDT 2008


In message <g5ikc7$k52$01$1 at news.t-online.com>, Sebastian "lunar" Wiesner
wrote:

> Relying on the destructor is *always* a bad idea, you should always
> close files explicitly!

There shouldn't be any problem with files opened read-only.



More information about the Python-list mailing list