[issue44807] typing.Protocol silently overrides __init__ method of delivered class
Guido van Rossum
report at bugs.python.org
Tue Mar 1 01:22:56 EST 2022
Guido van Rossum <guido at python.org> added the comment:
Would it make sense to enforce the no-instantiation rule in __new__ instead of __init__?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44807>
_______________________________________
More information about the Python-bugs-list
mailing list