[docs] [issue14515] tempfile.TemporaryDirectory documented as returning object but returns name

R. David Murray report at bugs.python.org
Fri Apr 6 04:07:48 CEST 2012


New submission from R. David Murray <rdmurray at bitdance.com>:

The title pretty much says it all.  I believe the behavior is correct (more useful than returning an object that is only useful for obtaining the name) even though it is unusual for context managers.  In any case there is plenty of code using the existing behavior, so I think this is a doc bug.

----------
assignee: docs at python
components: Documentation
messages: 157635
nosy: docs at python, r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: tempfile.TemporaryDirectory documented as returning object but returns name
type: behavior
versions: Python 3.2, Python 3.3

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


More information about the docs mailing list