消息 [397790]
Happy to see progress on this issue and I can see that adding these attributes to the ABC's in typing makes the most sense. However for my direct use-case (simplified: using Any in a type checking descriptor) it would be really practical to have the __name__ (and perhaps __qualname__ and __module__) attributes in the Any type. This is mainly for consistent logging/printing purposes.
Since Any already has a _name attribute, changing this to __name__ might achieve this. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2021-07-19 11:26:37 | farcat | 修改 | recipients:
+ farcat, gvanrossum, JelleZijlstra, uriyyo, kj, lars2 |
| 2021-07-19 11:26:37 | farcat | 修改 | messageid: <1626693997.71.0.870383859799.issue44524@roundup.psfhosted.org> |
| 2021-07-19 11:26:37 | farcat | 链接 | issue44524 messages |
| 2021-07-19 11:26:37 | farcat | 创建 | |
|