Message326040
I think there is also a fourth option: add a flag to `get_type_hints()` that will guard evaluation of forward references, as proposed in https://github.com/python/typing/issues/508. If the evaluation of a "forward reference" raises an error, then we keep it unevaluated (i.e. a string). |
|
Date |
User |
Action |
Args |
2018-09-21 20:51:15 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, Ben.Darnell |
2018-09-21 20:51:15 | levkivskyi | set | messageid: <1537563075.53.0.956365154283.issue34700@psf.upfronthosting.co.za> |
2018-09-21 20:51:15 | levkivskyi | link | issue34700 messages |
2018-09-21 20:51:15 | levkivskyi | create | |
|