GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-138966: Add description for gi_suspended attribute by codenamenam · Pull Request #139008 · python/cpython

Conversation

@codenamenam

@codenamenam codenamenam commented Sep 17, 2025 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Issue: #138966

This pull request adds the gi_suspended attribute for generator objects within the inspect module's "Types and members" table.

The gi_suspended attribute is a read-only boolean that indicates whether a generator is currently paused at a yield expression. Its purpose is similar to gi_running but for the suspended state.

  • Issue: The explanation of gi_suspended should be added to Types and members #138966

📚 Documentation preview 📚: https://cpython-previews--139008.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codenamenam
docs: Add description for gi_suspended attribute
622d0ea
@python-cla-bot

python-cla-bot Bot commented Sep 17, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Sep 17, 2025
@github-project-automation github-project-automation Bot added this to Docs PRs Sep 17, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Sep 17, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Sep 17, 2025
The explanation of gi_suspended should be added to Types and members #138966
Closed
@codenamenam
docs: Remove spacing
644817f
ZeroIntensity
ZeroIntensity approved these changes Sep 17, 2025
View reviewed changes

@ZeroIntensity ZeroIntensity left a comment

Copy link
Copy Markdown
Member

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

codenamenam reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Sep 17, 2025
@ZeroIntensity
ZeroIntensity merged commit c025576 into python:main Sep 17, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 17, 2025
@bedevere-app bedevere-app Bot removed the awaiting merge label Sep 17, 2025
@ZeroIntensity ZeroIntensity added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Sep 17, 2025
@miss-islington-app

miss-islington-app Bot commented Sep 17, 2025

Copy link
Copy Markdown

Thanks @codenamenam for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented Sep 17, 2025

Copy link
Copy Markdown

Thanks @codenamenam for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 17, 2025
@codenamenam @miss-islington
pythongh-138966: Add description for gi_suspended attribute (python…
3316aee
…GH-139008)

(cherry picked from commit c025576)

Co-authored-by: Donghoon Nam <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 17, 2025
@codenamenam @miss-islington
pythongh-138966: Add description for gi_suspended attribute (python…
1cd96e9
…GH-139008)

(cherry picked from commit c025576)

Co-authored-by: Donghoon Nam <[email protected]>
@bedevere-app

bedevere-app Bot commented Sep 17, 2025

Copy link
Copy Markdown

GH-139019 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Sep 17, 2025
@bedevere-app

bedevere-app Bot commented Sep 17, 2025

Copy link
Copy Markdown

GH-139020 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 17, 2025
ZeroIntensity pushed a commit that referenced this pull request Sep 17, 2025
@miss-islington @codenamenam
[3.13] gh-138966: Add description for gi_suspended attribute (GH-13…
b6d8ec3
…9008) (GH-139019)

gh-138966: Add description for `gi_suspended` attribute (GH-139008)
(cherry picked from commit c025576)

Co-authored-by: Donghoon Nam <[email protected]>
hugovk pushed a commit that referenced this pull request Sep 17, 2025
@miss-islington @codenamenam
[3.14] gh-138966: Add description for gi_suspended attribute (GH-13…
82fce82
…9008) (#139020)

Co-authored-by: Donghoon Nam <[email protected]>
@x42005e1f x42005e1f mentioned this pull request Dec 19, 2025
gi_suspended/cr_suspended is not specified as a change #142994
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ZeroIntensity ZeroIntensity ZeroIntensity approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news

Projects

Docs PRs
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@codenamenam @ZeroIntensity
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.