Skip to content

tp_versions_used was added to PyTypeObject but is not documented #132331

Description

@sonnyding1

Documentation

PR #114900 added tp_versions_used as a new field for _typeobject, and tp slots section of PyTypeObject should be updated.

Linked PRs

Activity

  1. added
    pendingThe issue will be closed if no feedback is provided
    and removed on Aug 18, 2025
  2. ZeroIntensity commented on Aug 18, 2025

    @ZeroIntensity
    Member

    See my comment. This should stay an internal, undocumented field.

  3. removed
    pendingThe issue will be closed if no feedback is provided
    on Oct 25, 2025
  4. picnixz commented on Oct 25, 2025

    @picnixz
    Member

    See my alternative comment: #132335 (comment) of why it should still be documented (there are precedents for that). However, we should indicate defaults and have a separate section for internal values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15bugs and security fixesdocsDocumentation in the Doc dirtopic-C-API

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions