FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-70303: Emit FutureWarning when pathlib glob pattern ends with `**` by barneygale · Pull Request #105413 · python/cpython · GitHub

/ cpython Public

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

Merged
barneygale merged 7 commits into
python:mainfrom
barneygale:gh-70303-glob-recursive-no-trailing-slash
Aug 4, 2023
Merged

GH-70303: Emit FutureWarning when pathlib glob pattern ends with **#105413
barneygale merged 7 commits into
python:mainfrom
barneygale:gh-70303-glob-recursive-no-trailing-slash

Conversation

barneygale commented Jun 6, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

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 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 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 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 requested a review from jaraco July 26, 2023 20:44
barneygale enabled auto-merge (squash) August 4, 2023 22:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL