↻

gh-103193: Use LBYL idioms rather than EAFP in `inspect.getattr_static` by AlexWaygood · Pull Request #103318 · python/cpython · GitHub

github.com

Tin mới

AlexWaygood:getattr_static-optimisation

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

Optimise inspect.getattr_static #103193

: Use LBYL idioms rather than EAFP in `inspect.getattr…

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

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

Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance #74690

gh-74690: Document changes made to runtime-checkable protocols in 3.12 #103348

: Use LBYL idioms rather than EAFP in `inspect.getattr…

Reduce overhead to add/remove asyncio readers and writers #106527

⌂git
1/1