[docs] [issue27023] Documentation of tempfile.gettempdir() does not mention it only supports existing directories

Steven D'Aprano report at bugs.python.org
Sat May 14 22:38:54 EDT 2016


Steven D'Aprano added the comment:

I don't understand. The documentation clearly states:

"Python searches a standard list of directories to find one which the calling user can create files in." How do you expect to be able to write files to a directory that doesn't exist?

----------
nosy: +steven.daprano

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


More information about the docs mailing list