gh-89519: fix incorrect access of class property in pydoc and inspect by akulakov · Pull Request #29239 · python/cpython · GitHub

github.com

Tin mới

akulakov:45356-Fix-classproperty-pydoc-inspect

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

Calling help executes @classmethod @property decorated methods #89519

guard against access of classproperties

fix help() and inspect.classify_class_attrs: prevent access of class …

also look at MRO and expand test accordingly

factor out _is_class_property

View reviewed changes

Learn more about hiding disruptive comments

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

awaiting core review

awaiting core review

github-actions Bot commented Apr 10, 2026

github-actions Bot commented Apr 10, 2026

This PR is stale because it has been open for 30 days with no activity.

⌂git
1/1