bpo-46565: del loop vars that are leaking into module namespaces (GH-30993)

This commit is contained in:
Nikita Sobolev 2022-02-03 12:20:08 +03:00 committed by GitHub
parent 6394e981ad
commit 0cbdd21311
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 21 additions and 8 deletions

View file

@ -249,3 +249,4 @@ PYTHON3_IMPORTERROR_EXCEPTIONS = (
for excname in PYTHON3_IMPORTERROR_EXCEPTIONS:
REVERSE_NAME_MAPPING[('builtins', excname)] = ('exceptions', 'ImportError')
del excname