Skip to content

Conversation

alicederyn
Copy link

@alicederyn alicederyn commented Jan 30, 2023

Coroutine-like objects now additionally need a cr_suspended attribute to be supported by the inspect.getcoroutinestate method.

@ghost
Copy link

ghost commented Jan 30, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@alicederyn
Copy link
Author

alicederyn commented Jan 30, 2023

Assuming I'm right about the issue, this may be a sensible way to update the docs.

@alicederyn alicederyn force-pushed the update.getcoroutinestate.docs branch from 76c76cc to 22e14ca Compare January 31, 2023 17:12
Coroutine-like objects now additionally need a ``cr_suspended``
attribute to be supported by this method.
@alicederyn alicederyn force-pushed the update.getcoroutinestate.docs branch from 22e14ca to 5593f13 Compare January 31, 2023 17:14
.. versionadded:: 3.5

.. versionchanged:: 3.11
Added requirement on ``cr_suspended`` attribute.
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering if we should add 'for coroutine-like object.', i.e.:

Added requirement on cr_suspended attribute for coroutine-like object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants