Skip to content

gh-150671: Deprecate PyAsyncGen_New, PyCoro_New, PyGen_New, PyGen_NewWithQualName functions#150672

Merged
sobolevn merged 4 commits into
python:mainfrom
sobolevn:issue-150671
Jun 10, 2026
Merged

gh-150671: Deprecate PyAsyncGen_New, PyCoro_New, PyGen_New, PyGen_NewWithQualName functions#150672
sobolevn merged 4 commits into
python:mainfrom
sobolevn:issue-150671

Conversation

@sobolevn

@sobolevn sobolevn commented May 31, 2026

Copy link
Copy Markdown
Member

@read-the-docs-community

read-the-docs-community Bot commented May 31, 2026

Copy link
Copy Markdown

@ZeroIntensity ZeroIntensity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just some docs nits, but this otherwise looks good.

Comment thread Doc/c-api/coro.rst Outdated
Comment thread Doc/c-api/gen.rst Outdated
Comment thread Doc/c-api/gen.rst Outdated
Comment thread Doc/c-api/gen.rst Outdated

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

Oh, I forgot about these broken functions! Thanks for proposing a change to deprecate them.

Comment thread Doc/whatsnew/3.16.rst
@sobolevn

sobolevn commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

Thanks everyone, I will keep this open for some time, collect possible feedback and merge it :)

@sobolevn sobolevn merged commit 44a533f into python:main Jun 10, 2026
100 of 102 checks passed
philthompson10 pushed a commit to philthompson10/cpython that referenced this pull request Jun 17, 2026
…`, `PyGen_NewWithQualName` functions (python#150672)

Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants