Alexander Hirner <a.hir...@gmail.com> added the comment:

Pardon my sloppiness. 

1. That should have been PEP 544. The last point referred to the notion of data 
protocols [0].

2. I think solving this issue for dataclasses would ensure better composition 
with modern libraries and other idioms like Protocol and ABC.


[0] 
https://www.python.org/dev/peps/pep-0544/#runtime-checkable-decorator-and-narrowing-types-by-isinstance

----------

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

Reply via email to