Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow omitting implementation for abstract overloads - #18882

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:no-impl-abstract
Apr 5, 2025
Merged

Allow omitting implementation for abstract overloads#18882
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:no-impl-abstract

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #11488

This is a little quality of life improvement. Implementation is straightforward. I also update mypyc to give an error instead of crashing.

@github-actions

github-actions Bot commented Apr 4, 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 e867132 into python:master Apr 5, 2025
@ilevkivskyi
ilevkivskyi deleted the no-impl-abstract branch April 5, 2025 00:06
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.

@overloads on @abstractmethods shouldn't need an implementation

2 participants