summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-29 12:57:05 (GMT)
committerGitHub <noreply@github.com>2021-08-29 12:57:05 (GMT)
commit193443bb708cba3a72e99e61dd6615a94f22f9e1 (patch)
treef52d0e42a9bd02647ec63a30f35dca76d91ebbcc /Misc/NEWS.d/next
parent44dd2ecb143b7ef39b22e76d7d24f62dc65eb359 (diff)
downloadcpython-193443bb708cba3a72e99e61dd6615a94f22f9e1.zip
cpython-193443bb708cba3a72e99e61dd6615a94f22f9e1.tar.gz
cpython-193443bb708cba3a72e99e61dd6615a94f22f9e1.tar.bz2
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026)
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/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst2
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.