bpo-45356: fix incorrect access of class property in pydoc and inspect by akulakov · Pull Request #29239 · python/cpython (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

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

Sign in

Sign up

Appearance settings

python / cpython Public

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

@akulakov

Copy link Copy Markdown

Contributor

@akulakov akulakov commented

Oct 27, 2021

edited

Loading

https://bugs.python.org/issue45356

I will add a news entry later today.

akulakov added 2 commits

October 27, 2021 09:29

@akulakov

[guard against access of classproperties](/python/cpython/pull/29239/commits/7226d7df6e7a29d9ae5581a8bb41526f8ef444eb "guard against access of classproperties")

[7226d7d](/python/cpython/pull/29239/commits/7226d7df6e7a29d9ae5581a8bb41526f8ef444eb)

@akulakov

[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 the-knights-who-say-ni added the CLA signed label

Oct 27, 2021

@bedevere-bot bedevere-bot added the awaiting review label

Oct 27, 2021

@akulakov akulakov marked this pull request as draft

October 27, 2021 18:25

akulakov added 2 commits

October 27, 2021 15:44

@akulakov

[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)

@akulakov

[factor out _is_class_property](/python/cpython/pull/29239/commits/3cec62fd708347d5246df5991390475234845416 "factor out _is_class_property")

[3cec62f](/python/cpython/pull/29239/commits/3cec62fd708347d5246df5991390475234845416)

@akulakov akulakov marked this pull request as ready for review

October 27, 2021 19:55

@akulakov

Copy link Copy Markdown

Contributor Author

akulakov commented

Oct 27, 2021

Ubuntu test failure seems unrelated (cache server 503 resp)

@akulakov

[add news entry](/python/cpython/pull/29239/commits/9c37c9c8edf03b52c71e6a886971ddd62e541b7d "add news entry")

[9c37c9c](/python/cpython/pull/29239/commits/9c37c9c8edf03b52c71e6a886971ddd62e541b7d)

@rhettinger rhettinger self-requested a review

November 19, 2021 08:12

MaxwellDupre

MaxwellDupre approved these changes Apr 18, 2022

View reviewed changes

Copy link Copy Markdown

Contributor

@MaxwellDupre 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 bedevere-bot added awaiting core review and removed awaiting review labels

Apr 18, 2022

@randolf-scholz randolf-scholz mannequin mentioned this pull request

May 6, 2022

Calling help executes @classmethod @property decorated methods#89519

Closed

@ezio-melotti ezio-melotti removed the CLA signed label

Jul 13, 2022

@nineteendo

Copy link Copy Markdown

Contributor

nineteendo commented

Jun 18, 2024

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 rhettinger Awaiting requested review from rhettinger

1 more reviewer

@MaxwellDupre MaxwellDupre MaxwellDupre approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

awaiting core review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@akulakov @nineteendo @MaxwellDupre @the-knights-who-say-ni @ezio-melotti @bedevere-bot