Skip to content

Deprecate and remove PyAsyncGen_New(), PyCoro_New(), PyGen_New() and PyGen_NewWithQualName() functions #150671

Closed

Description

@sobolevn

Feature or enhancement

These functions are not used, they are not tested, they even cannot be called. Because it is impossible to construct the required frame object for them to be called.

They are also not used on PyPI projects.

Refs #99485
Refs python/steering-council#156

Thanks a lot to @vstinner for his work to investigate these functions.

Linked PRs

Activity

  1. self-assigned this
    on May 31, 2026
  2. added a commit that references this issue on May 31, 2026
  3. added a commit that references this issue on Jun 10, 2026
  4. added a commit that references this issue on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions