gh-149101: Implement PEP 788#149116
Conversation
Documentation build overview
76 files changed ·
|
encukou
left a comment
There was a problem hiding this comment.
Thanks for adding these!
I'll send notes for Doc/ now; code review coming up.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit bc78c10 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
for buildbots: The RHEL8 failures aren't relevant. Refleaks are worrying though. |
Never mind; main currently leaks (#149179). |
…_with_destructor.
…tor. This also allows us to move it to _testcapi.
|
🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit a34dbc6 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
This looks good to me. The only remaining issues I see are minor. GitHub is kind of broken so here are my comments:
The comment about if (tstate->ensure.delete_on_release) {
++tstate->ensure.counter;
PyThreadState_Clear(tstate);
--tstate->ensure.counter;
}
else if (owned_guard != NULL) {
tstate->ensure.owned_guard = NULL;
} |
|
Thanks for the reviews, both of you! Sorry again about the rushing. |
Hugo has graciously given me permission to backport this if we don't make the May 5th deadline, but let's try to get this done in time!
I will write a full tutorial and migration guide once this is merged; I want to first make sure that this lands before the beta freeze.