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

Eric V. Smith report at bugs.python.org
Thu Aug 15 15:48:50 EDT 2019


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

I'm guessing I'm looking up the attribute on the instance, not the class.

----------

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


More information about the Python-bugs-list mailing list