GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-101112: Specify type of pattern for Path.rglob by jugmac00 · Pull Request #101132 · python/cpython

Conversation

@jugmac00

@jugmac00 jugmac00 commented Jan 18, 2023 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The documentation for rglob did not mention what pattern actually is.

Mentioning and linking to fnmatch makes this explicit, as the documentation for fnmatch both shows the syntax and some explanation.

  • Issue: Path.rglob -> documentation does not specify what pattern is #101112

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jugmac00
pythonGH-101112: Specify type of pattern for Path.rglob
69aae06
The documentation for `rglob` did not mention what `pattern` actually
is.

Mentioning and linking to `fnmatch` makes this explicit, as the
documentation for `fnmatch` both shows the syntax and some explanation.
@jugmac00
jugmac00 requested a review from barneygale as a code owner January 18, 2023 14:30
@bedevere-bot bedevere-bot added the awaiting review label Jan 18, 2023
@bedevere-bot bedevere-bot mentioned this pull request Jan 18, 2023
Path.rglob -> documentation does not specify what pattern is #101112
Closed
@bedevere-bot bedevere-bot added docs Documentation in the Doc dir skip news labels Jan 18, 2023
@ambv ambv added needs backport to 3.10 needs backport to 3.11 only security fixes labels Jan 20, 2023
@ambv
ambv merged commit 61f338a into python:main Jan 20, 2023
@miss-islington

miss-islington commented Jan 20, 2023

Copy link
Copy Markdown
Contributor

Thanks @jugmac00 for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the awaiting review label Jan 20, 2023
@miss-islington

miss-islington commented Jan 20, 2023

Copy link
Copy Markdown
Contributor

Sorry, @jugmac00 and @ambv, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 61f338a005aa9f36b2a0a8d6924857e703bb6140 3.11

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington miss-islington assigned ambv Jan 20, 2023
@miss-islington

miss-islington commented Jan 20, 2023

Copy link
Copy Markdown
Contributor

Sorry @jugmac00 and @ambv, I had trouble checking out the 3.10 backport branch.
Please retry by removing and re-adding the "needs backport to 3.10" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker 61f338a005aa9f36b2a0a8d6924857e703bb6140 3.10

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jugmac00

jugmac00 commented Jan 20, 2023

Copy link
Copy Markdown
Contributor Author

@ambv my fault, I should have converted this pr into a draft after I received some valuable feedback on the related issue. While the merged content is not 100% correct, imho it is not that bad. I will prepare a follow-up pr tomorrow.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ambv

ambv commented Jan 20, 2023

Copy link
Copy Markdown
Contributor

Oh, it wasn't clear to me the suggestions are meant to be part of this PR. Yeah, a follow up will be great, thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jugmac00
jugmac00 deleted the specify-rglob-pattern branch January 20, 2023 22:28
@jugmac00

jugmac00 commented Jan 21, 2023

Copy link
Copy Markdown
Contributor Author

@ambv As promised -> #101223

barneygale reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ZeroIntensity ZeroIntensity removed needs backport to 3.10 needs backport to 3.11 only security fixes labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@barneygale barneygale Awaiting requested review from barneygale barneygale is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@ambv ambv

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@jugmac00 @miss-islington @ambv @bedevere-bot @ZeroIntensity
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.