Skip to content

Conversation

@johnslavik
Copy link
Member

@johnslavik johnslavik commented Jan 13, 2026

I've chosen to go ahead with a 5-year deprecation period as Alex told me he'd do at least (thx!).
If this deprecation is too problematic, we can raise the warning eternally / soft deprecate -- and never eventually raise an exception.


📚 Documentation preview 📚: https://cpython-previews--143806.org.readthedocs.build/

No members are added to protocol classes to simplify testing. `issubclass` can only check method members.
@johnslavik johnslavik marked this pull request as ready for review January 13, 2026 16:08
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks!

@johnslavik
Copy link
Member Author

johnslavik commented Jan 19, 2026

I think we can use :deco: for runtime_checkable so I'll do that.
EDIT: Sphinx is a little limited with the markup in this regard; I've applied :deco: in the news entry and that's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants