Skip to content
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

bpo-42043: Add support for zipfile.Path subclasses #22716

Merged
merged 2 commits into from
Oct 25, 2020
Merged

bpo-42043: Add support for zipfile.Path subclasses #22716

merged 2 commits into from
Oct 25, 2020

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Oct 15, 2020

Also, sync other changes from zipp 3.3:

  • Path.is_file() now returns False for non-existent names.
  • Path objects now expose .filename and use that to resolve .name and .parent when the Path is at the root of the zipfile.

https://bugs.python.org/issue42043

@jaraco jaraco changed the title bpo-42043: Add support for zipp.Path subclasses bpo-42043: Add support for zipfile.Path subclasses Oct 15, 2020
@jaraco jaraco merged commit d1a0a96 into python:master Oct 25, 2020
@bedevere-bot
Copy link

@jaraco: Please replace # with GH- in the commit message next time. Thanks!

@jaraco jaraco deleted the bpo-42043-zipfile-path-subclass branch October 25, 2020 18:45
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
* bpo-42043: Add support for zipfile.Path inheritance as introduced in zipp 3.2.0.

* Add blurb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants