]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-39667: Sync zipp 3.0 (GH-18540) (GH-18701)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Apr 2020 18:45:25 +0000 (11:45 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Apr 2020 18:45:25 +0000 (14:45 -0400)
commit3e72de9e08b03a15875f5b226c5f096e567dab42
treea3d8aa505aa1f50866a062ee46edd65c7ba2073c
parent59047fab0ef37f583c9e7c3a48d67792fd10ff91
[3.8] bpo-39667: Sync zipp 3.0 (GH-18540) (GH-18701)

* bpo-39667: Sync zipp 3.0 (GH-18540)

* bpo-39667: Improve pathlib.Path compatibility on zipfile.Path and correct performance degradation as found in zipp 3.0

* ðŸ“œðŸ¤– Added by blurb_it.

* Update docs for new zipfile.Path.open

* Rely on dict, faster than OrderedDict.

* Syntax edits on docs

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 0aeab5c4381f0cc11479362af2533b3a391312ac)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Clarify the change in behavior with a couple of workaround options.

* Restore API compatibility while backporting performance improvements.

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Doc/library/zipfile.rst
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2020-02-17-22-38-15.bpo-39667.QuzEHH.rst [new file with mode: 0644]