← 返回首页
gh-104797: Allow Protocols to inherit from collections.abc.Buffer by JelleZijlstra · Pull Request #104827 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-104797: Allow Protocols to inherit from collections.abc.Buffer#104827

Merged
AlexWaygood merged 3 commits into
python:mainfrom
JelleZijlstra:bufpro
May 24, 2023
Merged

gh-104797: Allow Protocols to inherit from collections.abc.Buffer#104827
AlexWaygood merged 3 commits into
python:mainfrom
JelleZijlstra:bufpro

Conversation

JelleZijlstra commented May 24, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Thanks!

AlexWaygood merged commit c0ab7d4 into python:main May 24, 2023

Copy link
Copy Markdown
Contributor

Thanks @JelleZijlstra for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 24, 2023
…er (pythonGH-104827) (cherry picked from commit c0ab7d4) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

Copy link
Copy Markdown

GH-104841 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label May 24, 2023
AlexWaygood pushed a commit that referenced this pull request May 24, 2023
…fer (GH-104827) (#104841) gh-104797: Allow Protocols to inherit from collections.abc.Buffer (GH-104827) (cherry picked from commit c0ab7d4) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

This comment was marked as off-topic.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir topic-typing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use multiple inheritance with collections.abc.Buffer and typing.Protocol

4 participants

Footer

© 2026 GitHub, Inc.