Skip to content

Resolve builtins/importlib inconsistencies - #6310

Merged
srittau merged 1 commit into
python:masterfrom
AlexWaygood:import-issues
Nov 16, 2021
Merged

srittau merged 1 commit into
python:masterfrom
AlexWaygood:import-issues

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

This corrects an oversight from #6292, in which I changed the annotation for the globals and locals arguments of builtins.__import__, but not for importlib.__import__, which should have the same signature as builtins.__import__.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 1274445 into python:master Nov 16, 2021
@AlexWaygood
AlexWaygood deleted the import-issues branch November 16, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants