This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uriyyo
Recipients kj, uriyyo
Date 2021-08-02.09:53:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
typing.Protocol silently overrides __init__ method of delivered class.

I think it should be forbidden to define __init__ method at Protocol delivered class in case if cls is not Protocol.
History
Date User Action Args
2021-08-02 09:53:46uriyyosetrecipients: + uriyyo, kj
2021-08-02 09:53:46uriyyosetmessageid: <[email protected]>
2021-08-02 09:53:46uriyyolinkissue44807 messages
2021-08-02 09:53:46uriyyocreate