New submission from Jelle Zijlstra <jelle.zijls...@gmail.com>:
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. ---------- components: Library (Lib) messages: 390583 nosy: Jelle Zijlstra, gvanrossum, levkivskyi priority: normal severity: normal status: open title: Make ParamSpec.args/kwargs more useful objects versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com