bpo-45356: fix incorrect access of class property in pydoc and inspect by akulakov · Pull Request #29239 · python/cpython (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
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
Notifications You must be signed in to change notification settings
Additional navigation options
Open
akulakov wants to merge 5 commits intopython:mainfrom
akulakov:45356-Fix-classproperty-pydoc-inspect
ConversationCommits (5)ChecksFiles changed
Open
bpo-45356: fix incorrect access of class property in pydoc and inspect#29239
akulakov wants to merge 5 commits intopython:mainfrom
akulakov:45356-Fix-classproperty-pydoc-inspect
Conversation
Copy link Copy Markdown
Contributor
akulakov commented
•
edited
Loading
https://bugs.python.org/issue45356
I will add a news entry later today.
akulakov added 2 commits
[guard against access of classproperties](/python/cpython/pull/29239/commits/7226d7df6e7a29d9ae5581a8bb41526f8ef444eb "guard against access of classproperties")
[7226d7d](/python/cpython/pull/29239/commits/7226d7df6e7a29d9ae5581a8bb41526f8ef444eb)
[fix help() and inspect.classify_class_attrs: prevent access of class …](/python/cpython/pull/29239/commits/4c78430990c06f3eb807fe6d243dcd9b09884faf "fix help() and inspect.classify_class_attrs: prevent access of class properties")
[4c78430](/python/cpython/pull/29239/commits/4c78430990c06f3eb807fe6d243dcd9b09884faf)
…properties
the-knights-who-say-ni added the CLA signed label
bedevere-bot added the awaiting review label
akulakov marked this pull request as draft
akulakov added 2 commits
[also look at MRO and expand test accordingly](/python/cpython/pull/29239/commits/d68d0a65939175d4bbeb6f4dd35aec3c32b0b3f7 "also look at MRO and expand test accordingly")
[d68d0a6](/python/cpython/pull/29239/commits/d68d0a65939175d4bbeb6f4dd35aec3c32b0b3f7)
[factor out _is_class_property](/python/cpython/pull/29239/commits/3cec62fd708347d5246df5991390475234845416 "factor out _is_class_property")
[3cec62f](/python/cpython/pull/29239/commits/3cec62fd708347d5246df5991390475234845416)
akulakov marked this pull request as ready for review
Copy link Copy Markdown
Contributor Author
akulakov commented
Ubuntu test failure seems unrelated (cache server 503 resp)
[add news entry](/python/cpython/pull/29239/commits/9c37c9c8edf03b52c71e6a886971ddd62e541b7d "add news entry")
[9c37c9c](/python/cpython/pull/29239/commits/9c37c9c8edf03b52c71e6a886971ddd62e541b7d)
rhettinger self-requested a review
MaxwellDupre approved these changes Apr 18, 2022
Copy link Copy Markdown
Contributor
MaxwellDupre left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran 74 tests in 38.639s
OK (skipped=3)
Looks ok.
bedevere-bot added awaiting core review and removed awaiting review labels
randolf-scholz mannequin mentioned this pull request
Calling help executes @classmethod @property decorated methods#89519
Closed
ezio-melotti removed the CLA signed label
Copy link Copy Markdown
Contributor
nineteendo commented
Ehm, shouldn't this be closed now that classproperties no longer exist?
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
[ Show hidden characters]({{ revealButtonHref }})
Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
rhettinger Awaiting requested review from rhettinger
1 more reviewer
MaxwellDupre MaxwellDupre approved these changes
Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.