Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irregular reference counting #8

Open
encukou opened this issue May 10, 2023 · 3 comments
Open

Irregular reference counting #8

encukou opened this issue May 10, 2023 · 3 comments

Comments

@encukou
Copy link
Contributor

encukou commented May 10, 2023

It's not possible to tell how a function handles references (e.g. returns borrowed one, steals an argument) from usage (i.e. in a code review).

@vstinner
Copy link
Contributor

Can we deprecate these functions or have a way to opt-out? We can introduce new functions with regular refcount handling at least.

See discussion in 2020: python/cpython#86460

@vstinner
Copy link
Contributor

@iritkatriel iritkatriel added the v label Jul 20, 2023
@encukou
Copy link
Contributor Author

encukou commented Oct 23, 2023

Proposed guideline issue: capi-workgroup/api-evolution#16

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

No branches or pull requests

3 participants