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

miss-islington report at bugs.python.org
Tue Aug 20 02:01:59 EDT 2019


miss-islington <mariatta.wijaya+miss-islington at gmail.com> added the comment:


New changeset 02c1457a036c2af3e91beb952afdb66d9c806435 by Miss Islington (bot) in branch '3.7':
bpo-37868: Improve is_dataclass for instances. (GH-15325)
https://github.com/python/cpython/commit/02c1457a036c2af3e91beb952afdb66d9c806435


----------

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


More information about the Python-bugs-list mailing list