[issue33141] descriptor __set_name__ feature broken for dataclass descriptor fields

Eric V. Smith report at bugs.python.org
Mon Mar 26 06:47:31 EDT 2018


Eric V. Smith <eric at trueblade.com> added the comment:

I suppose I could, when overwriting the class member, check for inspect.ismethoddescriptor and call __set_name__ myself.

----------
components: +Library (Lib)
versions: +Python 3.8

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


More information about the Python-bugs-list mailing list