summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2024-12-29 18:30:53 (GMT)
committerGitHub <noreply@github.com>2024-12-29 18:30:53 (GMT)
commit7e819ce0f32068de7914cd1ba3b4b95e91ea9873 (patch)
treeee71bf301533e0f2396839052d79ac288d0a55ac /Misc
parentffece5590e95e89d3b5b6847e3beb443ff65c3db (diff)
downloadcpython-7e819ce0f32068de7914cd1ba3b4b95e91ea9873.zip
cpython-7e819ce0f32068de7914cd1ba3b4b95e91ea9873.tar.gz
cpython-7e819ce0f32068de7914cd1ba3b4b95e91ea9873.tar.bz2
gh-123424: add `ZipInfo._for_archive` to set suitable default properties (#123429)
--------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-08-28-16-10-37.gh-issue-123424.u96_i6.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-08-28-16-10-37.gh-issue-123424.u96_i6.rst b/Misc/NEWS.d/next/Library/2024-08-28-16-10-37.gh-issue-123424.u96_i6.rst
new file mode 100644
index 0000000..4df4bbf
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-08-28-16-10-37.gh-issue-123424.u96_i6.rst
@@ -0,0 +1 @@
+Add :meth:`zipfile.ZipInfo._for_archive` setting default properties on :class:`~zipfile.ZipInfo` objects. Patch by Bénédikt Tran and Jason R. Coombs.