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 drhagen, eric.smith, lopek
Date 2020-01-24.19:27:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Should `dataclass.Field.type` become a property that evaluates the annotation at runtime much in the same way that `get_type_hints` works?

I think not. But maybe a function that evaluates all of the field types. Or maybe an @dataclass parameter to cause it to happen at definition time.

At this point, this seems more like fodder for python-ideas.
Date User Action Args
2020-01-24 19:27:13eric.smithsetrecipients: + eric.smith, drhagen, lopek
2020-01-24 19:27:13eric.smithsetmessageid: <>
2020-01-24 19:27:13eric.smithlinkissue39442 messages
2020-01-24 19:27:13eric.smithcreate