Eric V. Smith <e...@trueblade.com> added the comment:
I agree with Mark. It's identical to: >>> () == () True As for the non-dataclass version, that's a normal object identity comparison if no __eq__ is defined: https://docs.python.org/3/reference/datamodel.html#object.__eq__ , third paragraph. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com