diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-29 12:56:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-29 12:56:45 (GMT) |
commit | 45409518c1cec5ee91d49f69a2f8eb4196d242f0 (patch) | |
tree | 95d913c9f15d13647ae3925efd12221b131279ae /Misc | |
parent | 330aabbbbee39cbc556be01534b1dbf65d20f04c (diff) | |
download | cpython-45409518c1cec5ee91d49f69a2f8eb4196d242f0.zip cpython-45409518c1cec5ee91d49f69a2f8eb4196d242f0.tar.gz cpython-45409518c1cec5ee91d49f69a2f8eb4196d242f0.tar.bz2 |
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28025)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
(cherry picked from commit c9227df5a9d8e958a2324cf0deba8524d1ded26a)
Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst b/Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst new file mode 100644 index 0000000..db880cd --- /dev/null +++ b/Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst @@ -0,0 +1,2 @@ +Replaced usage of :func:`tempfile.mktemp` with +:class:`~tempfile.TemporaryDirectory` to avoid a potential race condition. |