Skip to content

1.11.2 backport bugfixes - #17677

Merged
hauntsaninja merged 4 commits into
python:release-1.11from
md384:1.11.2-backport-bugfixes
Aug 24, 2024
Merged

hauntsaninja merged 4 commits into
python:release-1.11from
md384:1.11.2-backport-bugfixes

Conversation

@md384

@md384 md384 commented Aug 14, 2024

Copy link
Copy Markdown

Bugfix release requested from #17285 (comment) and #17285 (comment)

Includes the changes from #17675

ilevkivskyi and others added 4 commits August 14, 2024 09:08
Fixes python#17604
Fixes python#17608

Fix is trivial, rectify an obvious omission in my original PR.

(cherry picked from commit b56f357)
It is unfortunate to add two extra slots to a common type (and I guess
this is why it was rejected in the original PR), but all other
alternatives I tried are hacky and/or dangerous. So, this is a price to
pay for introducing a new type syntax.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 3da16bd)
@github-actions

Copy link
Copy Markdown
Contributor

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

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/artifacts.py:45: error: Method cannot have explicit self annotation and Self type  [misc]
@hauntsaninja
hauntsaninja merged commit 917cc75 into python:release-1.11 Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants