Message 398742 - Python tracker (original) (raw)

Message398742

Author uriyyo
Recipients kj, uriyyo
Date 2021-08-02.09:53:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1627898026.7.0.991897199639.issue44807@roundup.psfhosted.org
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:46 uriyyo set recipients: + uriyyo, kj
2021-08-02 09:53:46 uriyyo set messageid: 1627898026.7.0.991897199639.issue44807@roundup.psfhosted.org
2021-08-02 09:53:46 uriyyo link issue44807 messages
2021-08-02 09:53:46 uriyyo create