◐ Shell
clean mode source ↗

[3.9] bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683) by miss-islington · Pull Request #25685 · python/cpython

_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.
(cherry picked from commit 32c5a17)

Co-authored-by: Victor Stinner <vstinner@python.org>

@miss-islington

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington

@vstinner: Status check is done, and it's a success ✅ .

1 similar comment

@miss-islington

@vstinner: Status check is done, and it's a success ✅ .

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

pablogsal

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, regenerate the ABI

@bedevere-bot

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@miss-islington

@vstinner: Status check is done, and it's a success ❌ .

@vstinner

@pablogsal

@github-actions

This PR is stale because it has been open for 30 days with no activity.

@vstinner

Check out the same docker container the CI uses

I don't know how to do that: https://bugs.python.org/issue43725#msg404019

Maybe I should just abandon this backport.

It's a little bit annoying of not being able to backport a fix because the CI says that it breaks the ABI, whereas the modified function is only part of the internal C API and its name starts with "_Py", so it's a private function.

@vstinner

I still don't know how to update the ABI. So I just abandon my bugfix backport, sorry.