Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-105578: DeprecateAnyStr
in the docs#107116
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-105578: DeprecateAnyStr
in the docs#107116
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you!
This also needs:
- A news entry
- An entry in "What's New in Python 3.13
The deprecation notice also needs to state:
- That we intend to remove it from
__all__
and start emitting deprecation warnings at runtime in Python 3.16 - That we plan to remove it in Python 3.18
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Nearly there! Could you also add a row to the big deprecations table at the bottom of the typing docs:https://docs.python.org/3.13/library/typing.html#deprecation-timeline-of-major-features
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
A few suggestions to add some links tohttps://docs.python.org/3.13/reference/compound_stmts.html#type-params
Some of these are a bit repetitive, but it's important that people see notices about upcoming removals, so it's actually a good thing if we're saying the same thing in lots of places :-)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you, looks great!
Uh oh!
There was an error while loading.Please reload this page.
Deprecate
AnyStr
in the docs.typing.AnyStr
#105578📚 Documentation preview 📚:https://cpython-previews--107116.org.readthedocs.build/