Skip to content

Conversation

Akuli
Copy link
Collaborator

@Akuli Akuli commented Dec 10, 2021

Discussed in #6099.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

bidict (https://github.com/jab/bidict)
- bidict/_base.py:395: error: Argument 1 to "reversed" has incompatible type "MutableMapping[KT, VT]"; expected "SupportsLenAndGetItem[KT]"  [arg-type]
+ bidict/_base.py:395: error: Argument 1 to "reversed" has incompatible type "MutableMapping[KT, VT]"; expected "GetItemAndLenSequence[KT]"  [arg-type]

@srittau
Copy link
Collaborator

srittau commented Dec 10, 2021

I still prefer something more concise. Maybe we should start a poll in typing/discussions.

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