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 eric.smith
Recipients eric.smith, gvanrossum, levkivskyi
Date 2018-03-21.21:53:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521669219.26.0.467229070634.issue32505@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this is worth preventing. I can certainly make it an error, but since dataclasses ignores anything without a type annotation, I don't think it's a big deal. Basically I'd have to look through all class attributes that are of type Field but aren't in the class's __annotations__.

I cannot find the original conversation that caused me to open this issue. If anyone feels strongly that this case should be an error, let me know.
History
Date User Action Args
2018-03-21 21:53:39eric.smithsetrecipients: + eric.smith, gvanrossum, levkivskyi
2018-03-21 21:53:39eric.smithsetmessageid: <1521669219.26.0.467229070634.issue32505@psf.upfronthosting.co.za>
2018-03-21 21:53:39eric.smithlinkissue32505 messages
2018-03-21 21:53:39eric.smithcreate