Skip to content

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

@sterliakov sterliakov commented Jun 13, 2025 •

Copy link
Copy Markdown
Collaborator

As requested by @ilevkivskyi in #19025

@sterliakov
sterliakov marked this pull request as draft June 13, 2025 16:33
@github-actions

This comment has been minimized.

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

This comment has been minimized.

@sterliakov

Copy link
Copy Markdown
Collaborator Author

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

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

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
@github-actions

This comment has been minimized.

@ilevkivskyi

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 :-)

@github-actions

This comment has been minimized.

@github-actions

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