[issue39078] __function.__defaults__ breaks for __init__ of dataclasses with default factory

Eric V. Smith report at bugs.python.org
Tue Dec 17 16:08:15 EST 2019


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

I guess I could make the default value something like _CALLABLE(dict), but I'm not sure that would do you any good. But at least you could tell from the repr what it is.

----------

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


More information about the Python-bugs-list mailing list