Skip to content

Conversation

@Vizonex
Copy link

@Vizonex Vizonex commented Jan 28, 2026

while attempting to use this library on numerous files in order to modernize older libraries I bumped into a problem were multiple needed to be traversed so I came up with a cleaver idea to help eliminate some problems by implementing wildcards. Now on Linux this may work without what I have added in but in Windows this does matter. So hopefully this addition will prove useful in the long run. Here's an example that I have tested with this new additional feature such as upgrading h11's 3.8 code on over to 3.9 which writing all of these files down can be extremely annoying...

> pyupgrade h11/*.py --py39-plus

Rewriting h11\_connection.py
Rewriting h11\_events.py
Rewriting h11\_headers.py
Rewriting h11\_readers.py
Rewriting h11\_receivebuffer.py
Rewriting h11\_state.py
Rewriting h11\_util.py
Rewriting h11\_writers.py

@asottile
Copy link
Owner

search the issue tracker next time, thanks!

@asottile asottile closed this Jan 28, 2026
Repository owner locked as off-topic and limited conversation to collaborators Jan 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants