Skip to content

pathlib: Fix glob/rglob to return Path objects rather than strings.#1120

Open
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:pathlib-fix-return-type-of-glob
Open

pathlib: Fix glob/rglob to return Path objects rather than strings.#1120
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:pathlib-fix-return-type-of-glob

Conversation

@dpgeorge
Copy link
Copy Markdown
Member

@dpgeorge dpgeorge commented Jun 4, 2026

Summary

This now matches CPython behaviour.

(This fix was made in #1027 but that PR was closed.)

Testing

Updated the unittest that runs under CI.

Generative AI

Not used.

This now matches CPython behaviour.

Signed-off-by: Damien George <damien@micropython.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant