Add tests on basic `PyStackRef` functions
@efimov-mikhail ci sta già lavorando.
Dal 16/10/2025.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
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: https://github.com/python/cpython/issues/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
- gh-139717
- gh-141675
- gh-143024
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.