Message390583
Currently, typing.ParamSpec.args and ParamSpec.kwargs are just object() instances, which makes them useless for runtime inspection of __annotations__. This type was introduced by PEP 612.
Instead, I propose to make them return some special helper object with __origin__ set to the underlying ParamSpec object. I'll work on a PR soon. |
|
Date |
User |
Action |
Args |
2021-04-09 02:06:06 | JelleZijlstra | set | recipients:
+ JelleZijlstra, gvanrossum, levkivskyi |
2021-04-09 02:06:06 | JelleZijlstra | set | messageid: <1617933966.5.0.0238313977797.issue43783@roundup.psfhosted.org> |
2021-04-09 02:06:06 | JelleZijlstra | link | issue43783 messages |
2021-04-09 02:06:06 | JelleZijlstra | create | |
|