[New-bugs-announce] [issue10354] tempfile.template is broken

Giampaolo Rodola' report at bugs.python.org
Mon Nov 8 12:28:15 CET 2010

New submission from Giampaolo Rodola' <g.rodola at gmail.com>:

>>> import tempfile
>>> tempfile.template = 'XXX'
>>> tempfile.mkdtemp()

Functions that use template use it as an argument default, so changing it afterwards has no effect.

components: Library (Lib)
messages: 120729
nosy: giampaolo.rodola
priority: normal
severity: normal
status: open
title: tempfile.template is broken
versions: Python 2.7, Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list