-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.10] gh-123693: Use platform-agnostic semantics when processing zipfile.Path.name. #123694
Conversation
…rgical fix. (pythonGH-123354) Applies changes from zipp 3.20.1 and jaraco/zippGH-124 (cherry picked from commit 2231286) (cherry picked from commit 17b77bb) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
This reverts commit d1eca1e.
…ePosixPath for platform-agnostic behavior. Aligns with Python 3.9 and 3.11 behavor and fixes failing tests.
I chose not to replace the patch with exactly the patch that is found in Python 3.11 and later, because that changed other semantics. I'm expecting this selective change to allow the tests to pass and address the missed expectation. |
Until this PR is rebased onto main after merging the dependent PR, here is the diff for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You can rebase now. |
I've merged and the diff is now good. The macOS failure is unrelated. I did not rebase, as the squash merge will handle that. Please merge whenever. |
Depends on, merge after GH-123426.
Closes #123693.