Message314378
Currently this code
def f(x: int = None):
pass
get_type_hints(f)
returns {'x': Optional[int]}. I propose to abandon this behaviour. Although there is not yet a definitive decision about this aspect of PEP 484, see https://github.com/python/typing/issues/275, I think at least at runtime we should not do this. |
|
Date |
User |
Action |
Args |
2018-03-24 18:16:02 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum |
2018-03-24 18:16:02 | levkivskyi | set | messageid: <1521915362.58.0.467229070634.issue33133@psf.upfronthosting.co.za> |
2018-03-24 18:16:02 | levkivskyi | link | issue33133 messages |
2018-03-24 18:16:02 | levkivskyi | create | |
|