◐ Shell
clean mode source ↗

gh-105578: Deprecate `AnyStr` in the docs by michael-the1 · Pull Request #107116 · python/cpython

AlexWaygood

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

@bedevere-bot

This comment was marked as outdated.

AlexWaygood

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

AlexWaygood

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AlexWaygood

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks great!