Message360641
> 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:13 | eric.smith | set | recipients:
+ eric.smith, drhagen, lopek |
2020-01-24 19:27:13 | eric.smith | set | messageid: <1579894033.3.0.509420889762.issue39442@roundup.psfhosted.org> |
2020-01-24 19:27:13 | eric.smith | link | issue39442 messages |
2020-01-24 19:27:13 | eric.smith | create | |
|