-
-
Notifications
You must be signed in to change notification settings - Fork 32k
GH-93112: Fix missing ResourceDenied import in test_urllib2net #93113
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
Conversation
I believe this won't need a news entry - but it should probably be backported to 3.11 and 3.10? |
I confirm the bug without the fix:
|
yes, bugfixes are backported to stable branches: https://devguide.python.org/#status-of-python-branches |
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.
An alternative would be to replace ResourceDenied with support.ResourceDenied, but I'm fine with this fix.
Right. Both are already used in the file, so I didn't know what to prefer. Happy to adjust if you prefer using |
Thanks @The-Compiler for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-93168 is a backport of this pull request to the 3.11 branch. |
GH-93169 is a backport of this pull request to the 3.10 branch. |
…ythonGH-93113) The code was moved out of test.support in 311110a (pythonGH-20812), thus making ResourceDenied undefined. (cherry picked from commit 37c9a35) Co-authored-by: Florian Bruhin <[email protected]>
…ythonGH-93113) The code was moved out of test.support in 311110a (pythonGH-20812), thus making ResourceDenied undefined. (cherry picked from commit 37c9a35) Co-authored-by: Florian Bruhin <[email protected]>
) The code was moved out of test.support in 311110a (GH-20812), thus making ResourceDenied undefined. (cherry picked from commit 37c9a35) Co-authored-by: Florian Bruhin <[email protected]>
) The code was moved out of test.support in 311110a (GH-20812), thus making ResourceDenied undefined. (cherry picked from commit 37c9a35) Co-authored-by: Florian Bruhin <[email protected]>
The code was moved out of test.support in
311110a (GH-20812), thus making
ResourceDenied undefined.
Closes #93112.