[issue42812] @overload-ing method of parent class without actual implementation
Chaim Gewirtz
report at bugs.python.org
Sun Jan 3 12:43:20 EST 2021
Chaim Gewirtz <chaim422 at gmail.com> added the comment:
What is better?
A. Keeping Python as is, with four separate signature declarations (1x Parent, 2x @overload Child, and 1x actual signature in Child), and a second method call overhead at runtime (to satisfy mypy as it exists now).
--or--
B. Simplify Python to allow just two signature declarations and no extra overhead?
--or--
C. Something else? Please specify.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42812>
_______________________________________
More information about the Python-bugs-list
mailing list