Alex Waygood <alex.wayg...@gmail.com> added the comment:

+1 for the proposed PR. Loop variables leaking into the global namespace 
creates an extra burden for typeshed when we have to wade through a long list 
of objects that our tests report are present at runtime but not in the typeshed 
stubs. It's not the end of the world, but it takes time, and is annoying.

As Nikita explains, these leaky variables also make the output of `help()` much 
less useful.

The fix isn't hard, and shouldn't, in my opinion, be particularly controversial.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to