Skip to content

Conversation

@barneygale
Copy link
Contributor

@barneygale barneygale commented Nov 24, 2023

Add trailing slashes to expected Path.glob() results wherever a pattern has a trailing slash. This matches what glob.glob() produces.

Due to another bug (GH-65238) pathlib strips all trailing slashes, so this change is academic for now.

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
@barneygale barneygale merged commit 09505c5 into python:main Dec 3, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ython#112365)

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…ython#112365)

Add trailing slashes to expected `Path.glob()` results wherever a pattern
has a trailing slash. This matches what `glob.glob()` produces.

Due to another bug (pythonGH-65238) pathlib strips all trailing slashes, so this
change is academic for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir topic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant