[issue2717] tempfile.mkstempf

Nick Coghlan report at bugs.python.org
Tue Apr 29 17:40:37 CEST 2008


Nick Coghlan <ncoghlan at gmail.com> added the comment:

The delete flag on NamedTemporaryFile is new for 2.6, so it isn't
surprising people aren't familiar with it. The other advantage of using
NamedTemporaryFile is that its name attribute is set correctly, which
isn't the case when using mkstemp directly.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2717>
__________________________________


More information about the Python-bugs-list mailing list