Jean-Paul Calderone <exar...@twistedmatrix.com> added the comment:

I can't think of any way that you might be able to implement the behavior being 
requested here.

Instead, if you don't want to leave files lying around, use TemporaryFile 
instead of NamedTemporaryFile.

Perhaps the documentation for NamedTemporary file could be updated to explain 
this limitation, though.

----------
nosy: +exarkun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to