[issue6357] tempfile.NamedTemporaryFile does not accept the delete= parameter on Windows

Daniel Stutzbach report at bugs.python.org
Mon Jun 29 16:39:15 CEST 2009


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

C:\>c:\python26\python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> tempfile.NamedTemporaryFile('w', delete=true)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'true' is not defined
>>>

Hope that helps :)

----------

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


More information about the Python-bugs-list mailing list