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-116377: Stop raising ValueError from glob.translate(). #116378

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Mar 5, 2024

Stop raising ValueError from glob.translate() when a ** sub-string appears in a non-recursive pattern segment. This matches glob.glob() behaviour.

No news as glob.translate() is new in 3.13.


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

Stop raising `ValueError` from `glob.translate()` when a `**` sub-string
appears in a non-recursive pattern segment. This matches `glob.glob()`
behaviour.
@barneygale barneygale merged commit 0634201 into python:main Mar 17, 2024
34 checks passed
vstinner pushed a commit to vstinner/cpython that referenced this pull request Mar 20, 2024
…ython#116378)

Stop raising `ValueError` from `glob.translate()` when a `**` sub-string
appears in a non-recursive pattern segment. This matches `glob.glob()`
behaviour.
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
…ython#116378)

Stop raising `ValueError` from `glob.translate()` when a `**` sub-string
appears in a non-recursive pattern segment. This matches `glob.glob()`
behaviour.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…ython#116378)

Stop raising `ValueError` from `glob.translate()` when a `**` sub-string
appears in a non-recursive pattern segment. This matches `glob.glob()`
behaviour.
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.

1 participant