Sergei Lebedev <[email protected]> added the comment:
I understand that this is a side-effect of having a default value, but I was hoping we could delattr InitVar's in @dataclass. I'm not aware of this causing problems, but it does feel a bit unsatisfying that InitVar's with defaults are kept in the class namespace. Do you see what could go wrong if we delete them? ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue43953> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
