-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
gh-138966: Add description for gi_suspended attribute #139008
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
Conversation
ZeroIntensity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @codenamenam for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @codenamenam for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…GH-139008) (cherry picked from commit c025576) Co-authored-by: Donghoon Nam <[email protected]>
…GH-139008) (cherry picked from commit c025576) Co-authored-by: Donghoon Nam <[email protected]>
|
GH-139019 is a backport of this pull request to the 3.13 branch. |
|
GH-139020 is a backport of this pull request to the 3.14 branch. |
…9008) (#139020) Co-authored-by: Donghoon Nam <[email protected]>
Issue: #138966
This pull request adds the
gi_suspendedattribute for generator objects within theinspectmodule's "Types and members" table.The
gi_suspendedattribute is a read-only boolean that indicates whether a generator is currently paused at ayieldexpression. Its purpose is similar togi_runningbut for the suspended state.gi_suspendedshould be added to Types and members #138966📚 Documentation preview 📚: https://cpython-previews--139008.org.readthedocs.build/