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

Eric V. Smith report at bugs.python.org
Tue Aug 20 01:40:31 EDT 2019


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


New changeset b0f4dab8735f692bcfedcf0fa9a25e238a554bab by Eric V. Smith in branch 'master':
bpo-37868: Improve is_dataclass for instances. (GH-15325)
https://github.com/python/cpython/commit/b0f4dab8735f692bcfedcf0fa9a25e238a554bab


----------

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


More information about the Python-bugs-list mailing list