gh-74690: Don't set special protocol attributes on non-protocol subclasses of protocols by AlexWaygood · Pull Request #104622 · python/cpython · GitHub

github.com

Tin mới

AlexWaygood:concrete-proto-subclasses

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance #74690

Don't set special protocol attributes on non-protocol subclasses of p…

awaiting core review

awaiting core review

View reviewed changes

Merge branch 'main' into nestedcomps

Backport some recent Protocol fixes from 3.12 python/typing_extensions#161

gh-74690: Make a typing test more resilient #104691

[Bug] typing_extensions.Protocol unsupported under typing_extensions ≥ 4.6.0 beartype/beartype#241

⌂git
1/1