summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-10-03 14:58:39 (GMT)
committerGitHub <noreply@github.com>2020-10-03 14:58:39 (GMT)
commitebbe8033b1c61854c4b623aaf9c3e170d179f875 (patch)
tree97b9d2a5967e0b24108119340e14b4f005473408 /Misc
parentc111355480ff51b50a671679c5099f534cb01cae (diff)
downloadcpython-ebbe8033b1c61854c4b623aaf9c3e170d179f875.zip
cpython-ebbe8033b1c61854c4b623aaf9c3e170d179f875.tar.gz
cpython-ebbe8033b1c61854c4b623aaf9c3e170d179f875.tar.bz2
bpo-40564: Avoid copying state from extant ZipFile. (GH-22371)
bpo-40564: Avoid copying state from extant ZipFile.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-09-23-03-33-37.bpo-40564.iXQqMq.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-09-23-03-33-37.bpo-40564.iXQqMq.rst b/Misc/NEWS.d/next/Library/2020-09-23-03-33-37.bpo-40564.iXQqMq.rst
new file mode 100644
index 0000000..0855347
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-09-23-03-33-37.bpo-40564.iXQqMq.rst
@@ -0,0 +1 @@
+In ``zipfile.Path``, mutate the passed ZipFile object type instead of making a copy. Prevents issues when both the local copy and the caller’s copy attempt to close the same file handle. \ No newline at end of file