Skip to content

gh-160104: Refresh zipfile.Path from zipp 4.1.2 - #160105

Open
jaraco wants to merge 1 commit into
python:mainfrom
jaraco:feature/zipp-4.1.2
Open

jaraco wants to merge 1 commit into
python:mainfrom
jaraco:feature/zipp-4.1.2

Conversation

@jaraco

@jaraco jaraco commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Synchronizes zipfile.Path with zipp
4.1.2
, per the
development
methodology
.
Last synced from zipp 3.23 in gh-135276.

Three behavior changes:

The rest is test and lint churn that keeps the stdlib and zipp trees
byte-identical, verified zero-diff in both directions against zipp's cpython
branch.

Note

Stacked on #160103, which carries the backportable str()
bugfix (gh-100609) from the same refresh. Please merge that one first; this
PR's diff will then reduce to the changes described above.

Two of the test changes are worth calling out:

🤖 Generated with Claude Code

@read-the-docs-community

read-the-docs-community Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

`Path.iterdir` now raises `NotADirectoryError` rather than `ValueError`,
glob character classes follow shell-style semantics, and the workaround for
the `stacklevel` bug in PyPy < 7.3.19 is removed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jaraco
jaraco force-pushed the feature/zipp-4.1.2 branch from 1577fe7 to 4bc368e Compare October 21, 2026 22:04
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 21, 2026
@jaraco
jaraco enabled auto-merge (squash) October 21, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant