Skip to content

Add tests on basic PyStackRef functions #139716

Open

Description

@efimov-mikhail

Feature or enhancement

Proposal:

Definitions of basic PyStackRef manipulation functions aren't so easy.
There are a lot of them, they have connections to each other and we have 3 variants of them now (GIL, no-GIL, PyStackRef debug).

It's easy to forget something when provide some change to them.
In fact, there is one of such issues for PyStackRef debug build: #135125

I propose to add tests that ensure all basic PyStackRef functions are correct in combination.

I've already have a PR.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    type-feature
    on Oct 7, 2025
  2. added
    tests
    extension-modules
    on Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

extension-modulesteststype-feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions