This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author superbobry
Recipients eric.smith, superbobry
Date 2021-04-27.13:17:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619529471.43.0.436724550704.issue43953@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2021-04-27 13:17:51superbobrysetrecipients: + superbobry, eric.smith
2021-04-27 13:17:51superbobrysetmessageid: <1619529471.43.0.436724550704.issue43953@roundup.psfhosted.org>
2021-04-27 13:17:51superbobrylinkissue43953 messages
2021-04-27 13:17:51superbobrycreate