Berker Peksag added the comment:

Thanks for the patch, Zbyszek. For future reference, please send patches from 
the Mercurial repository. It will make the patch review process easier. See 
also devguide.

+:func:`TemporaryDirectory`, :func:`SpooledTemporaryFile`, which can be

Both TemporaryDirectory and SpooledTemporaryFile are actually a class. See 
https://hg.python.org/cpython/file/3.4/Lib/tempfile.py#l510

+   :ref:`context-managers`).  On completion of the context or

:ref:`context-managers` link is unnecessary in my opinion. It would be better 
to link https://docs.python.org/3/library/tempfile.html#examples

(Please update tempfile.TemporaryDirectory docs too.)

----------
nosy: +berker.peksag
title: [PATCH] update tempfile docs to say that TemporaryFile is secure -> 
update tempfile docs to say that TemporaryFile is secure
type:  -> enhancement
versions: +Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23725>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to