Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
assignee = 'https://github.com/JelleZijlstra'
closed_at = <Date 2021-04-11.02:57:21.727>
created_at = <Date 2021-04-09.02:06:06.482>
labels = ['library', '3.10']
title = 'Make ParamSpec.args/kwargs more useful objects'
updated_at = <Date 2021-04-11.02:57:21.726>
user = 'https://github.com/JelleZijlstra'
activity = <Date 2021-04-11.02:57:21.726>
actor = 'gvanrossum'
assignee = 'JelleZijlstra'
closed = True
closed_date = <Date 2021-04-11.02:57:21.727>
closer = 'gvanrossum'
components = ['Library (Lib)']
creation = <Date 2021-04-09.02:06:06.482>
creator = 'JelleZijlstra'
dependencies = 
files = 
hgrepos = 
issue_num = 43783
keywords = ['patch']
message_count = 2.0
messages = ['390583', '390763']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'levkivskyi', 'JelleZijlstra', 'kj']
pr_nums = ['25298']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue43783'
versions = ['Python 3.10']
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
New changeset 5224336 by Jelle Zijlstra in branch 'master':
bpo-43783: Add ParamSpecArgs/Kwargs (GH-25298)
No branches or pull requests