[issue39134] can't construct dataclass as ABC (or runtime check as data protocol)

Alexander Hirner report at bugs.python.org
Sun Jan 19 02:54:31 EST 2020


Alexander Hirner <a.hirner at gmail.com> added the comment:

In that case, what should the getter return? It doesn't know about the implementation of x.
Maybe I'm not getting the idea behind adding getters/setters.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39134>
_______________________________________


More information about the Python-bugs-list mailing list