FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Follow-up after #19025: test and cleanup by sterliakov · Pull Request #19294 · python/mypy · GitHub

Repository navigation

Follow-up after #19025: test and cleanup - #19294

Merged
ilevkivskyi merged 6 commits into
python:masterfrom
sterliakov:hotfix/st-restore-is-staticmethod
Aug 3, 2025
Merged

ilevkivskyi merged 6 commits into
python:masterfrom
sterliakov:hotfix/st-restore-is-staticmethod

Conversation

sterliakov commented Jun 13, 2025 •
edited
Loading

Copy link
Copy Markdown
Collaborator

As requested by @ilevkivskyi in #19025

sterliakov marked this pull request as draft June 13, 2025 16:33

This comment has been minimized.

sterliakov changed the title Fix merge conflict from #19025 Follow-up after #19025: test and cleanup Jun 18, 2025
sterliakov force-pushed the hotfix/st-restore-is-staticmethod branch from e022f9c to 3bbd0d6 Compare June 18, 2025 15:54

This comment has been minimized.

Copy link
Copy Markdown
Collaborator Author

The primer change is bad but unrelated. Opened #19358 to address it.

sterliakov requested a review from ilevkivskyi June 29, 2025 23:15
sterliakov marked this pull request as ready for review June 29, 2025 23:15

This comment has been minimized.

hauntsaninja pushed a commit that referenced this pull request Jun 30, 2025
…mapping (#19358)

This was discovered in #19294 where an unrelated change produced a weird
notice that should not be shown. Current behavior of the added testcase:

```
main.py:10: error: Argument 1 to "foo" has incompatible type "*list[object]"; expected "P"  [arg-type]
main.py:10: note: "list" is missing following "P" protocol member:
main.py:10: note:     arg
main.py:11: error: Argument 1 to "foo" has incompatible type "**dict[str, object]"; expected "P"  [arg-type]
main.py:11: note: "dict" is missing following "P" protocol member:
main.py:11: note:     arg
```


https://mypy-play.net/?mypy=master&python=3.12&flags=strict&gist=d0228ba7d2802db8ac4457f374ccc148

This comment has been minimized.

Copy link
Copy Markdown
Member

Oh well, now the test fails because type var ids need to be updated. I am too lazy to checkout and fix myself, so I will wait for you :-)

This comment has been minimized.

github-actions Bot commented Aug 3, 2025

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

ilevkivskyi merged commit 06e28f8 into python:master Aug 3, 2025
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
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


Back | FazBrowse Home | New Git URL