Skip to content

Replace glob1 with glob#1713

Open
meeuw wants to merge 1 commit intopazz:masterfrom
meeuw:replace-glob1-with-glob
Open

Replace glob1 with glob#1713
meeuw wants to merge 1 commit intopazz:masterfrom
meeuw:replace-glob1-with-glob

Conversation

@meeuw
Copy link
Copy Markdown
Contributor

@meeuw meeuw commented Apr 4, 2026

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
Copy link
Copy Markdown
Collaborator

lucc commented Apr 7, 2026

@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
Copy link
Copy Markdown
Owner

pazz commented Apr 9, 2026 via email

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