Message399677
I think it's fine for get_type_hints() to give up in some cases. It's not fine if it were to look in the wrong namespace (e.g. if the caller of get_type_hints() were to happen to have an unrelated class named "Foo" in its namespace, that should *not* be found if the type alias was defined in a different file). |
|
Date |
User |
Action |
Args |
2021-08-16 20:22:21 | gvanrossum | set | recipients:
+ gvanrossum, mhils, kj |
2021-08-16 20:22:21 | gvanrossum | set | messageid: <1629145341.68.0.3146569871.issue44926@roundup.psfhosted.org> |
2021-08-16 20:22:21 | gvanrossum | link | issue44926 messages |
2021-08-16 20:22:21 | gvanrossum | create | |
|