-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Missing Deprecation Notice for typing.Callable Alias in the Deprecated Aliases section #106461
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
Labels
Comments
Luckily for you, I had already been working on this, just hadn't got round to making a PR yet :) Please see #106462. |
AlexWaygood
added a commit
that referenced
this issue
Jul 9, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 9, 2023
) (cherry picked from commit ca8b55c) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This was referenced Jul 9, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 9, 2023
) (cherry picked from commit ca8b55c) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood
added a commit
that referenced
this issue
Jul 9, 2023
AlexWaygood
added a commit
that referenced
this issue
Jul 9, 2023
Fixed and backported. The updates should appear in the online docs in the next day or so. Thanks for the report @ColemanDunn! |
1proprogrammerchant
added a commit
to 1proprogrammerchant/cpython
that referenced
this issue
Jul 9, 2023
pythongh-106461: typing: Consolidate docs on `Callable` (python#106462)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
typing.Callable is not listed as a deprecated alias under https://docs.python.org/3/library/typing.html#deprecated-aliases.
However, it IS listed here: https://docs.python.org/3/library/typing.html#typing.Callable and states "Deprecated alias to collections.abc.Callable". But not having it anywhere in the Depricated Aliases section of the docs is confusing as the only depreciation notice lies outside of this section.
It seems like it could fit under this section: https://docs.python.org/3/library/typing.html#aliases-to-container-abcs-in-collections-abc as the language used in this section ("Deprecated alias to collections.abc.[...]") closely matches the language used callable depreciation notice, but I am not entirely sure it if fits the "container" description.
I suggest adding the deprecation notice to the Depricated Aliases section.
That is all! Thanks!
Linked PRs
Callable
#106462Callable
(GH-106462) #106574Callable
(GH-106462) #106575The text was updated successfully, but these errors were encountered: