Skip to content

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
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