-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
bpo-46565: del
loop vars that are leaking into module namespaces
#30993
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
@@ -108,7 +108,7 @@ def istest(self, predicate, exp): | |||
self.assertFalse(other(obj), 'not %s(%s)' % (other.__name__, exp)) | |||
|
|||
def test__all__(self): | |||
support.check__all__(self, inspect, not_exported=("k", "v", "mod_dict", "modulesbyfile")) |
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.
ha! this test should have caught the issue earlier 🙂
Co-authored-by: Éric <[email protected]>
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 @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to |
Sorry @sobolevn and @serhiy-storchaka, I had trouble checking out the |
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to |
https://bugs.python.org/issue46565