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

Robert Collins report at bugs.python.org
Tue Aug 4 00:17:44 CEST 2015


Robert Collins added the comment:

I can't find any reference to a discussion to deprecate tempdir outside of this issue. Nothing on python-dev/python-ideas/peps.

I can see that there's an argument that it should be deprecated, but AFAICT the idea to do so originated here. I'd like to see wider discussion though (because I don't think it makes sense to deprecate it) - its no more or less global than environment variables, its already here as a feature, and its not going to save us code maintenance or bugs if we do deprecate it - and if we are deprecating it, we should be issueing a PendingDeprecation warning at minimum.

How about we change the patch to not deprecate it, and either open a new ticket, or let folk that want to deprecate it raise that on the list?

----------

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


More information about the Python-bugs-list mailing list