Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-107995: Fix doctest collection of functools.cached_property objects#107996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
AlexWaygood merged 3 commits intopython:mainfromtjsmart:fix-issue-107995
Aug 18, 2023

Conversation

@tjsmart
Copy link
Contributor

@tjsmarttjsmart commentedAug 16, 2023
edited by bedevere-bot
Loading

DocTestFinder would skipfunctools.cached_property objects because they were not considered to be a part of the module that it is collecting doc tests from. To fix this issue I added a check forcached_property that grabs the underlying function, similar to what is done forstaticmethod andclassmethod.

@ghost
Copy link

ghost commentedAug 16, 2023
edited by ghost
Loading

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Most changes to Pythonrequire a NEWS entry.

Please add it using theblurb_it web app or theblurb command-line tool.

Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@rhettingerrhettinger removed their request for reviewAugust 18, 2023 13:25
Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks! You can also add your name to this file here, if you like, but it isn't mandatory:https://github.com/python/cpython/blob/main/Misc/ACKS

tjsmart reacted with thumbs up emoji
@AlexWaygood
Copy link
Member

By the way, for future PRs to CPython, please avoid force-pushing where possible. It interacts badly with the GitHub UI, making it hard for reviewers to see what changed between commits. We merge everything using GitHub's "squash and merge" button in CPython, so we don't care about a messy commit history for a PR :-)

@tjsmart
Copy link
ContributorAuthor

By the way, for future PRs to CPython, please avoid force-pushing where possible. It interacts badly with the GitHub UI, making it hard for reviewers to see what changed between commits. We merge everything using GitHub's "squash and merge" button in CPython, so we don't care about a messy commit history for a PR :-)

Sounds good. Thanks for the heads up! 👍

AlexWaygood reacted with thumbs up emoji

Copy link
Member

@carljmcarljm left a comment

Choose a reason for hiding this comment

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

LGTM!

AlexWaygood and tjsmart reacted with heart emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sobolevnsobolevnsobolevn approved these changes

@carljmcarljmcarljm approved these changes

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@tjsmart@bedevere-bot@AlexWaygood@carljm@sobolevn

[8]ページ先頭

©2009-2025 Movatter.jp