Skip to content

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Dec 21, 2024

This comment has been minimized.

Copy link
Collaborator

@svalentin svalentin left a comment

Choose a reason for hiding this comment

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

Should we also revert the other PRs mentioned in the description?
python/typeshed#12813 python/typeshed#12814 python/typeshed#12816 python/typeshed#12827

Copy link
Contributor

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]

@svalentin svalentin merged commit 55d4c17 into python:master Dec 30, 2024
19 checks passed
@cdce8p cdce8p deleted the revert-typeshed-iterator-change branch December 30, 2024 14:30
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