Skip to content

[3.10] bpo-44904: Fix classmethod property bug in doctest module (GH-28838) #29261

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 28, 2021

The doctest module raised an error if a docstring contained an example that
attempted to access a classmethod property. (Stacking '@classmethod' on top of
@property has been supported since Python 3.9; see
https://docs.python.org/3/howto/descriptor.htmlGH-class-methods.)

Co-authored-by: Serhiy Storchaka [email protected]
(cherry picked from commit b1302ab)

Co-authored-by: Alex Waygood [email protected]

https://bugs.python.org/issue44904

…8838)

The doctest module raised an error if a docstring contained an example that
attempted to access a classmethod property. (Stacking '@classmethod' on top of
`@property` has been supported since Python 3.9; see
https://docs.python.org/3/howto/descriptor.htmlGH-class-methods.)

Co-authored-by: Serhiy Storchaka <[email protected]>
(cherry picked from commit b1302ab)

Co-authored-by: Alex Waygood <[email protected]>
@miss-islington
Copy link
Contributor Author

@AlexWaygood and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@AlexWaygood and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting review labels Oct 28, 2021
@miss-islington
Copy link
Contributor Author

@AlexWaygood and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 1f45cc0 into python:3.10 Oct 28, 2021
@miss-islington miss-islington deleted the backport-b1302ab-3.10 branch October 28, 2021 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants