Author eric.smith
Recipients BTaskaya, barry, brett.cannon, eric.smith, gvanrossum, levkivskyi, lukasz.langa, vstinner
Date 2020-05-26.23:13:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590534794.44.0.744150497815.issue38605@roundup.psfhosted.org>
In-reply-to
Content
To my knowledge, dataclasses works with `from __future__ import annotations`. If there are specific examples of problems, I'd like to hear about it: please open a separate issue.

There is a hack (discussed at PyCon 2018 with all of the relevant players) where it avoids importing typing to look at typing.ClassVar, but I think that code is all correct. Maybe I should just bite the bullet and import typing, since I believe importing it is faster than it used to be.
History
Date User Action Args
2020-05-26 23:13:14eric.smithsetrecipients: + eric.smith, gvanrossum, barry, brett.cannon, vstinner, lukasz.langa, levkivskyi, BTaskaya
2020-05-26 23:13:14eric.smithsetmessageid: <1590534794.44.0.744150497815.issue38605@roundup.psfhosted.org>
2020-05-26 23:13:14eric.smithlinkissue38605 messages
2020-05-26 23:13:13eric.smithcreate