Add PyUnstable compat API for PyUnstable_Object_IsUniquelyReferenced and PyUnstable_SetImmortal
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 1k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 66
Description
In https://github.com/PyO3/pyo3/pull/5828 we added bindings for
- PyUnstable_Object_IsUniquelyReferenced Python 3.14
- PyUnstable_SetImmortal Python 3.15
We could add compatibility for them given these reference implementations:
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 by reviewing PyO3 pull request #5828 and the referenced pythoncapi-compat pull requests #149 and #164. Add compatibility for PyUnstable_Object_IsUniquelyReferenced and PyUnstable_SetImmortal, with behavior aligned to those reference implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100