This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author AlexWaygood
Recipients AlexWaygood, sobolevn, zach.ware
Date 2022-01-28.17:05:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643389559.08.0.521068429087.issue46565@roundup.psfhosted.org>
In-reply-to
Content
+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.
History
Date User Action Args
2022-01-28 17:05:59AlexWaygoodsetrecipients: + AlexWaygood, zach.ware, sobolevn
2022-01-28 17:05:59AlexWaygoodsetmessageid: <1643389559.08.0.521068429087.issue46565@roundup.psfhosted.org>
2022-01-28 17:05:59AlexWaygoodlinkissue46565 messages
2022-01-28 17:05:58AlexWaygoodcreate