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 adriangb
Recipients JelleZijlstra, adriangb, gvanrossum, kj, lukasz.langa, uriyyo
Date 2022-03-01.06:00:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Agreed.

What if we allow protocols that implement `__init__` but still disallow instantiating a protocol that does not? It's a 1 line change, all existing tests pass and it would still catch what I think was the original intention (trying to instantiate a Protocol class with no __init__): https://github.com/python/cpython/pull/31628/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
History
Date User Action Args
2022-03-01 06:00:41adriangbsetrecipients: + adriangb, gvanrossum, lukasz.langa, JelleZijlstra, uriyyo, kj
2022-03-01 06:00:41adriangbsetmessageid: <[email protected]>
2022-03-01 06:00:41adriangblinkissue44807 messages
2022-03-01 06:00:41adriangbcreate