-
-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit import to urllib.error
in urllib.robotparser
#128737
Conversation
urllib.robotparser
urllib.error
in urllib.robotparser
fbc5849
to
d238915
Compare
@vstinner: I plan to merge this one. It's borderline a cosmetic change but I don't think we're doing this kind of trick elsewhere ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
GH-128793 is a backport of this pull request to the 3.13 branch. |
GH-128794 is a backport of this pull request to the 3.12 branch. |
It's not strictly needed, but I think it's better to have an explicit import (my IDE would complain) for: