This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JelleZijlstra
Recipients JelleZijlstra, gvanrossum, levkivskyi
Date 2021-04-09.02:06:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617933966.5.0.0238313977797.issue43783@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-04-09 02:06:06JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, levkivskyi
2021-04-09 02:06:06JelleZijlstrasetmessageid: <1617933966.5.0.0238313977797.issue43783@roundup.psfhosted.org>
2021-04-09 02:06:06JelleZijlstralinkissue43783 messages
2021-04-09 02:06:06JelleZijlstracreate