Revert "Remove redundant inheritances from Iterator in builtins" by cdce8p · Pull Request #18324 · python/mypy
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff from mypy_primer, showing the effect of this PR on open source code:
psycopg (https://github.com/psycopg/psycopg) + tests/types/test_datetime.py:785: error: Argument 1 to "time" has incompatible type "*map[int]"; expected "tzinfo | None" [arg-type] + tests/types/test_datetime.py:807: error: Argument 1 to "datetime" has incompatible type "*map[int]"; expected "tzinfo | None" [arg-type] jax (https://github.com/google/jax) - jax/_src/numpy/linalg.py:2115: error: Unused "type: ignore" comment [unused-ignore]
cdce8p
deleted the
revert-typeshed-iterator-change
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters