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

GH-70303: Emit FutureWarning when pathlib glob pattern ends with ** #105413

Merged

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Jun 6, 2023

In a future Python release, patterns with this ending will match both files and directories. Users may add a trailing slash to remove the warning and match only directories.


📚 Documentation preview 📚: https://cpython-previews--105413.org.readthedocs.build/

…h `**`.

In a future Python release, patterns with this ending will match both files
and directories. Users may add a trailing slash to remove the warning.
@barneygale barneygale changed the title GH-70303: Emit FutureWarning when pathlib glob pattern ends with **. GH-70303: Match files and directories in pathlib.Path.glob() pattern ending ** Jun 18, 2023
@barneygale barneygale changed the title GH-70303: Match files and directories in pathlib.Path.glob() pattern ending ** GH-70303: Match files and directories with pathlib.Path.glob() pattern ending ** Jun 18, 2023
@barneygale barneygale changed the title GH-70303: Match files and directories with pathlib.Path.glob() pattern ending ** GH-70303: Emit FutureWarning when pathlib glob pattern ends with ** Jun 20, 2023
@barneygale barneygale requested a review from jaraco July 26, 2023 20:44
@barneygale barneygale enabled auto-merge (squash) August 4, 2023 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants