[issue37868] `is_dataclass` returns `True` if `getattr` always succeeds.

Eric V. Smith report at bugs.python.org
Thu Aug 15 17:53:44 EDT 2019


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

Yeah, I agree it's not an awesome design to work with classes or instances, but it's documented that way. As soon as I write some tests I'll check this in.

----------

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


More information about the Python-bugs-list mailing list