Repository navigation
gh-94309: py312 "what's new": improve deprecation notice for typing.Hashable and typing.Sized - #112196
Merged
AlexWaygood merged 1 commit into
python:main from
salty-horse:typing_deprecation_doc
Nov 17, 2023
Merged
Conversation
salty-horse
commented
Nov 17, 2023
·
edited by github-actions
Bot
Loading
Copy link
Copy Markdown
Contributor
The documentation of the deprecation of typing aliases in 3.12 (#94309 ) was just the names of the aliases, without a description of what happens to them. This can cause confusion, even if it's in the "Deprecated" section of documentation, since all other items include this description.
This should be backported to 3.12.
📚 Documentation preview 📚: https://cpython-previews--112196.org.readthedocs.build/
bedevere-app
Bot
added
awaiting review
docs
Documentation in the Doc dir
skip news
labels
Nov 17, 2023
bedevere-app
Bot
mentioned this pull request
Nov 17, 2023
Deprecate typing.Hashable/Sized
#94309
Closed
AlexWaygood
self-requested a review
November 17, 2023 10:23
AlexWaygood
added
topic-typing
needs backport to 3.12
only security fixes
labels
Nov 17, 2023
AlexWaygood
changed the title
gh-94309: Fix documentation for deprecated aliases
gh-94309: py312 "what's new": improve deprecation notice for typing.Hashable and typing.Sized
Nov 17, 2023
AlexWaygood
reviewed
Nov 17, 2023
View reviewed changes
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Thanks!
pythongh-94309: Fix documentation for deprecated aliases
5a776e7
salty-horse
force-pushed
the
typing_deprecation_doc
branch
from
2f7fa98 to
5a776e7
Compare
November 17, 2023 12:22
AlexWaygood
approved these changes
Nov 17, 2023
View reviewed changes
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Thank you!
bedevere-app
Bot
added
awaiting merge
and removed
awaiting review
labels
Nov 17, 2023
AlexWaygood
enabled auto-merge (squash)
November 17, 2023 12:25
AlexWaygood
self-assigned this
Nov 17, 2023
AlexWaygood
merged commit
fb4cddb
into
python : main
Nov 17, 2023
Copy link
Copy Markdown
bedevere-app
Bot
removed
the
awaiting merge
label
Nov 17, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Nov 17, 2023
pythongh-94309: "What's new in Python 3.12": improve deprecation noti...
4ebc12c
...ce for typing.Hashable and typing.Sized (pythonGH-112196)
(cherry picked from commit fb4cddb)
Co-authored-by: Ori Avtalion <ori@avtalion.name>
Copy link
Copy Markdown
bedevere-app
Bot
removed
the
needs backport to 3.12
only security fixes
label
Nov 17, 2023
AlexWaygood
pushed a commit
that referenced
this pull request
Nov 17, 2023
[3.12] gh-94309: "What's new in Python 3.12": improve deprecation not...
976488e
...ice for typing.Hashable and typing.Sized (GH-112196) (#112200)
gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable and typing.Sized (GH-112196)
(cherry picked from commit fb4cddb)
Co-authored-by: Ori Avtalion <ori@avtalion.name>
aisk
pushed a commit
to aisk/cpython
that referenced
this pull request
Feb 11, 2024
pythongh-94309: "What's new in Python 3.12": improve deprecation noti...
74261c7
...ce for typing.Hashable and typing.Sized (python#112196)
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this pull request
Sep 2, 2024
pythongh-94309: "What's new in Python 3.12": improve deprecation noti...
fc6b30a
...ce for typing.Hashable and typing.Sized (python#112196)
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
docs
Documentation in the Doc dir
skip news
topic-typing
2 participants