Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-128520: pathlib ABCs: reject empty pattern inReadablePath.glob()#127343

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale commentedNov 27, 2024
edited
Loading

For compatibility withPath.glob(), raiseValueError if an empty pattern is given toReadablePath.glob().

No user-facing changes.

For compatibility with `Path.glob()`, raise `ValueError` if an emptypattern is given to `PathBase.glob()`.
@barneygalebarneygale changed the titlepathlib ABCs: reject empty pattern inPathBase.glob()pathlib ABCs: reject empty pattern inReadablePath.glob()Mar 23, 2025
@barneygalebarneygale changed the titlepathlib ABCs: reject empty pattern inReadablePath.glob()GH-128520: pathlib ABCs: reject empty pattern inReadablePath.glob()Mar 23, 2025
@barneygalebarneygale merged commitfbfb0e1 intopython:mainMar 24, 2025
40 checks passed
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 1, 2025
…glob()` (python#127343)For compatibility with `Path.glob()`, raise `ValueError` if an emptypattern is given to `ReadablePath.glob()`.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale

[8]ページ先頭

©2009-2025 Movatter.jp