Re: file.close()
Francois Pinard wrote:[color=blue]
> For one, I systematically avoid cluttering my code with unneeded `close'.[/color]
What happens if close fails during GC? Will it still raise an
exception? If so, the exception could happen at an unfortunate place in
the code.
Um. Explicit close does raise an exception if it fails, right?
--
Hallvard
Francois Pinard wrote:[color=blue]
> For one, I systematically avoid cluttering my code with unneeded `close'.[/color]
What happens if close fails during GC? Will it still raise an
exception? If so, the exception could happen at an unfortunate place in
the code.
Um. Explicit close does raise an exception if it fails, right?
--
Hallvard
Comment