open() and EOFError

Roy Smith roy at
Tue Jul 8 02:26:01 CEST 2014

In article <mailman.11589.1404737902.18130.python-list at>,
 Chris Angelico <rosuav at> wrote:

> I love how Unix will happily let you unlink a file and keep using it.
> Sure, it's a pitfall for people who are trying to figure out where on
> earth their disk space has gone ("I deleted that huge file, but my
> disk's still full!!"), but it's soooooo much easier to work with than
> "File in use, cannot delete".

It's a common way to deal with temp file cleanup.

More information about the Python-list mailing list