Skip to content

Replace glob1 with glob - #1713

Merged
lucc merged 1 commit into
pazz:masterfrom
meeuw:replace-glob1-with-glob
Apr 14, 2026
Merged

lucc merged 1 commit into
pazz:masterfrom
meeuw:replace-glob1-with-glob

Conversation

@meeuw

@meeuw meeuw commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #1712

As glob.glob1 is undocumented and it's not so clear to me why it was used in the first place I'm not 100% sure if this fix is right.

@meeuw
meeuw force-pushed the replace-glob1-with-glob branch 3 times, most recently from 0efa3b8 to 53bd7a0 Compare April 5, 2026 12:55
@meeuw
meeuw force-pushed the replace-glob1-with-glob branch from 53bd7a0 to 1632613 Compare April 5, 2026 12:59
@lucc

lucc commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

@pazz I did a quick check and this seems to work.

Was there an original reason to use glob1 instead of glob or pathlib.Path.glob?

@pazz

pazz commented Apr 9, 2026 via email

Copy link
Copy Markdown
Owner

@lucc
lucc merged commit 40c57d6 into pazz:master Apr 14, 2026
14 checks passed
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.

Python 3.15 removed glob1 (used in alot/account.py)

3 participants