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 JelleZijlstra
Recipients JelleZijlstra, adriangb, gvanrossum, kj, lukasz.langa, uriyyo
Date 2022-03-01.06:11:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646115070.09.0.935947444593.issue44807@roundup.psfhosted.org>
In-reply-to
Content
It doesn't make logical sense to instantiate any Protocol, whether it has __init__ or not, because a Protocol is inherently an abstract class. But we can just leave enforcement of that rule to static type checkers, so Adrian's proposed change makes sense to me.
History
Date User Action Args
2022-03-01 06:11:10JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, lukasz.langa, uriyyo, kj, adriangb
2022-03-01 06:11:10JelleZijlstrasetmessageid: <1646115070.09.0.935947444593.issue44807@roundup.psfhosted.org>
2022-03-01 06:11:10JelleZijlstralinkissue44807 messages
2022-03-01 06:11:10JelleZijlstracreate