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, lopek
Date 2020-01-24.16:33:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579883639.22.0.142747328966.issue39442@roundup.psfhosted.org>
In-reply-to
Content
Well the type comes from the annotation, so this makes sense to me. If dataclasses were to call get_type_hints() for every field, it would defeat the purpose of PEP 563 (at least for dataclasses).
History
Date User Action Args
2020-01-24 16:33:59eric.smithsetrecipients: + eric.smith, lopek
2020-01-24 16:33:59eric.smithsetmessageid: <1579883639.22.0.142747328966.issue39442@roundup.psfhosted.org>
2020-01-24 16:33:59eric.smithlinkissue39442 messages
2020-01-24 16:33:59eric.smithcreate