Skip to content

Backport the ability to define __init__ methods on Protocol classes #142

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

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

AlexWaygood
Copy link
Member

Fixes #104. Closes #119.

@JelleZijlstra JelleZijlstra merged commit 501a00e into python:main Apr 13, 2023
@AlexWaygood AlexWaygood deleted the protocol-init branch April 13, 2023 15:27
@AlexWaygood
Copy link
Member Author

AlexWaygood commented Apr 13, 2023

I believe typing_extensions.Protocol is now at feature/bugfix parity with typing.Protocol on Python 3.12, following this PR 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

typing.Protocol in 3.11 needs to be backported
2 participants