消息 [399081]
Serhiy, good question. As builtin generics return the base `__name__` for subscribed version, it makes sense to do the same for the versions in `typing`, especially if their unsubscribed versions provide `__name__`.
As to "why even have `__name__` in the first place?", it's for introspection purposes. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2021-08-06 12:48:03 | lukasz.langa | 修改 | recipients:
+ lukasz.langa, gvanrossum, farcat, serhiy.storchaka, JelleZijlstra, miss-islington, uriyyo, BvB93, kj, lars2 |
| 2021-08-06 12:48:03 | lukasz.langa | 修改 | messageid: <1628254083.53.0.0641782229602.issue44524@roundup.psfhosted.org> |
| 2021-08-06 12:48:03 | lukasz.langa | 链接 | issue44524 messages |
| 2021-08-06 12:48:03 | lukasz.langa | 创建 | |
|