[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

Serhiy Storchaka report at bugs.python.org
Tue Feb 5 20:19:42 CET 2013


Serhiy Storchaka added the comment:

In general it looks good to me. But we can get rid of Python file and use only os.open/os.write/os.close. Here is an updated patch which carefully close a file descriptor and remove a file even if write or close failed.

Amir Szekely, can you please submit a contributor form?

http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/

----------
Added file: http://bugs.python.org/file28967/fix_tempfile_leaving_files_behind_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16800>
_______________________________________


More information about the Python-bugs-list mailing list