open() and EOFError

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


In article <mailman.11589.1404737902.18130.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> 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