Jelle Zijlstra <jelle.zijls...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44807>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to