-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Regression in mypy 0.930: object.__reduce__ #6661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
stubs: false positive
Type checkers report false errors
Comments
Note: broken in 88f86a0 |
Yeah, the return type of |
Yes, my bad. Needs to be reverted, agreed. |
dvarrazzo
added a commit
to psycopg/psycopg
that referenced
this issue
Dec 22, 2021
The release is affected by the issues: - python/mypy#11820 - python/typeshed#6661 already acknowledged as bugs.
AlexWaygood
added a commit
to AlexWaygood/typeshed
that referenced
this issue
Dec 22, 2021
Reverts regressions introduced by python#6292. Fixes python#6661.
Merged
JelleZijlstra
pushed a commit
that referenced
this issue
Dec 22, 2021
dvarrazzo
added a commit
to psycopg/psycopg
that referenced
this issue
Dec 23, 2021
The release is affected by the issues: - python/mypy#11820 - python/typeshed#6661 already acknowledged as bugs.
@dvarrazzo this should be fixed in mypy 0.931, even if python/mypy#11820 isn't |
Yes, this is fixed alright :)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In mypy 0.930 the signature for
object.__reduce__
has been changed toThis is wrong, reading the documentation. The following valid code now is reported as error:
The text was updated successfully, but these errors were encountered: