Eric V. Smith <[email protected]> added the comment:
I'm not crazy about adding a method to every dataclass just for the 0.1% of the times it's needed. I think using hasattr or catching the exception is a better way to go. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue46757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
