Skip to content
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

Fix importlib.abc and type madness in _import #4642

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

dabacon
Copy link
Collaborator

@dabacon dabacon commented Nov 9, 2021

Fixes #4637 and also removes ModuleType = Any in _import.py. This removal exposed some mislabeled types and some missing defense.

@dabacon dabacon requested review from cduck, vtomole and a team as code owners November 9, 2021 06:09
@dabacon dabacon requested a review from dstrain115 November 9, 2021 06:09
@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Nov 9, 2021
@CirqBot CirqBot added the size: S 10< lines changed <50 label Nov 9, 2021
@MichaelBroughton MichaelBroughton self-assigned this Nov 9, 2021
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Nov 9, 2021
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Nov 9, 2021
@CirqBot CirqBot merged commit 72f831d into quantumlib:master Nov 9, 2021
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Nov 9, 2021
@dabacon dabacon deleted the abc branch April 16, 2022 15:42
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Fixes quantumlib#4637 and also removes `ModuleType = Any` in `_import.py`.  This removal exposed some mislabeled types and some missing defense.
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Fixes quantumlib#4637 and also removes `ModuleType = Any` in `_import.py`.  This removal exposed some mislabeled types and some missing defense.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining. size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importlib.abc in Python 3.10
3 participants