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
bpo-46565: del loop vars that are leaking into module namespaces
#30993
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 <merwok@netwok.org>
|
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it |
|
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it |
|
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 |
|
Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to |


https://bugs.python.org/issue46565