Skip to content

Fix Protocol inheritance in _zstdfile #14232

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
Jul 7, 2025

Conversation

Rogdham
Copy link
Contributor

@Rogdham Rogdham commented Jun 7, 2025

In #14129 I made an error in definition of some protocols: inheriting from a class defining a protocol is not enough, they should inherit from Protocol as well.

@Rogdham Rogdham marked this pull request as ready for review June 7, 2025 14:55
Copy link
Contributor

github-actions bot commented Jun 7, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@Rogdham
Copy link
Contributor Author

Rogdham commented Jul 5, 2025

Hello @srittau if you have the time to review this small fix, it would be appreciated!

@srittau srittau merged commit 088a4b8 into python:main Jul 7, 2025
64 checks passed
@Rogdham Rogdham deleted the pep-784_fix-protocol-inherit branch July 7, 2025 11:46
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.

2 participants