Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

There is other related case:

>>> from typing import *
>>> class P(Protocol): pass
... 
>>> class B:
...     def __init__(self):
...         self.test = 'OK'
... 
>>> class D(P, B):
...     pass
... 
>>> D().test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'D' object has no attribute 'test'

----------

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

Reply via email to