Message334397
> Since Undef is not defined, I should get an exception when calling get_type_hints
One of the motives of PEP-563 is to make it easier to use forward references. I'm not sure, but it seems to me that given that, we should not get an exception. So I think the only issue here is that the ForwardReference class is not documented, and should be.
But I admit I'm not confident about my understanding of PEP-563 so I could be wrong. |
|
Date |
User |
Action |
Args |
2019-01-26 17:32:25 | steven.daprano | set | recipients:
+ steven.daprano, Lincoln Quirk |
2019-01-26 17:32:24 | steven.daprano | set | messageid: <1548523944.1.0.753132959816.issue35834@roundup.psfhosted.org> |
2019-01-26 17:32:24 | steven.daprano | link | issue35834 messages |
2019-01-26 17:32:24 | steven.daprano | create | |
|