[docs] [issue23725] update tempfile docs to say that TemporaryFile is secure

Martin Panter report at bugs.python.org
Mon Mar 23 00:57:49 CET 2015

Martin Panter added the comment:


Please start sentences with capital letters, specifically “mkstemp() and mkdtemp() are lower-level functions . . .”.

The new sentence at the top about context managers seems out-of-place. Perhaps something like “They can also be used as context managers, which triggers the cleanup on exit.”

The new paragraph about cleanup of TemporaryFile is good, but I think it now makes the last sentence of that entry redundant: “. . . can be used in a ‘with’ statement . . .”

nosy: +vadmium

Python tracker <report at bugs.python.org>

More information about the docs mailing list