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

2013-02-05 Thread Amir Szekely
Amir Szekely added the comment: I've submitted a contribution form by e-mail. -- ___ Python tracker <http://bugs.python.org/issue16800> ___ ___ Python-bugs-l

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

2012-12-27 Thread Amir Szekely
Amir Szekely added the comment: Reproduction details: [root@meh /]# uname -a Linux meh 2.6.32-131.17.1.el6-0.0.3.smp.pae.gcc4.1.x86.i686 #1 SMP Tue Dec 20 02:40:22 PST 2011 i686 GNU/Linux [root@meh /]# pwd / [root@meh /]# dd if=/dev/zero of=/tmp/BIG bs=4M dd: writing `/tmp/BIG': No space

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

2012-12-27 Thread Amir Szekely
New submission from Amir Szekely: tempfile._get_default_tempdir() tries to find a good temporary directory by attempting to create a file and write a string into it for all candidate directories. It deletes those files right after closing them. But if writing rather than creating them fails