-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
stdtypes don't mention asyncio generic classes #131417
New issue
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? Sign in to your account
Comments
Note the list explicitly says it's not exhaustive. I don't object to adding the asyncio ones but maybe we should trim down the list to builtin types instead. |
I personally think it's nuts trying to keep such a list up to date. What is it even useful for? Maybe we can just remove it? |
Could we say something like?: 'Many types in the standard library can be parameterised, including each of the built-in collection types and all of the types in I agree with Guido that having such a long list isn't very helpful, especially now that generics are so widely supported in the stdlib (I didn't even realise the list existed). A |
…s list (#131422) Mention asyncio Future and Task in docs for generic classes list
…classes list (pythonGH-131422) Mention asyncio Future and Task in docs for generic classes list (cherry picked from commit 61b4b2c) Co-authored-by: Andrew Svetlov <[email protected]>
…classes list (pythonGH-131422) Mention asyncio Future and Task in docs for generic classes list (cherry picked from commit 61b4b2c) Co-authored-by: Andrew Svetlov <[email protected]>
Ok, I'll make a PR to remove the list |
…classes list (python#131422) Mention asyncio Future and Task in docs for generic classes list
…classes list (python#131422) Mention asyncio Future and Task in docs for generic classes list
Documentation
https://docs.python.org/3/library/stdtypes.html#standard-generic-classes has a list of generic classes. Since ea5b968,
asyncio
provides generic Future and Task that are not mentioned.Linked PRs
The text was updated successfully, but these errors were encountered: