Implement Py_DECREF specializations for Py_GIL_DISABLED build
Open
Nobody has claimed this yet.
interpreter-core
performance
topic-free-threading
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Implement Py_DECREF specializations for Py_GIL_DISABLED build as mentioned at
https://github.com/python/cpython/blob/0d9d48959e050b66cb37a333940ebf4dc2a74e15/Include/internal/pycore_object.h#L275-L277
Linked PRs
- gh-135833
- gh-154779
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Include/internal/pycore_object.h at the referenced lines to understand the missing Py_DECREF specializations for Py_GIL_DISABLED builds. Review the linked work in gh-135833 and gh-154779 before proceeding; done means the requested specializations are implemented and the relevant build or test coverage passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100