You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any interest in providing an @override decorator for base classes that re-implement (override) the functions of abstract classes? It could be potentially helpful in distinguishing between the functions that are inherited vs. functions that are unique to a class.
Hi,
I would really like this to be also part of mypy typechecking. The implementation that I have https://github.com/mkorpela/overrides is a module load time check but moving this to even earlier pre-execution phase would in my opinion be great!
Reacted by 4sfaloth, takamatsu, Duncan Tebbs, Carlos Ramos Carreño and Hitoshi Wada
Activity
refi64 commentedon Jul 17, 2016
I think this would be more of a Python library/language rather than something particular to mypy.
gvanrossum commentedon Jul 17, 2016
Yeah. Please use bugs.python.org or python-dev.
gvanrossum commentedon Jul 17, 2016
No, python-ideas
timokau commentedon May 2, 2020
For future reference: There is a continuation, unfortunately without conclusion, at https://mail.python.org/pipermail/python-ideas/2016-July/041095.html .
mkorpela commentedon May 24, 2020
Hi,
I would really like this to be also part of mypy typechecking. The implementation that I have https://github.com/mkorpela/overrides is a module load time check but moving this to even earlier pre-execution phase would in my opinion be great!