| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Documentation build overview76 files changed · + 1 added · ± 75 modified + Added ± Modified |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for adding these!
I'll send notes for Doc/ now; code review coming up.
Sorry, something went wrong.
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. |
Sorry, something went wrong.
|
for buildbots: The RHEL8 failures aren't relevant. Refleaks are worrying though. |
Sorry, something went wrong.
Never mind; main currently leaks (#149179). |
Sorry, something went wrong.
…_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. |
Sorry, something went wrong.
|
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 tstate->ensure.owned_guard = NULL (" This is usually done by PyThreadState_Clear()...") is confusing to me. The owned_guard = NULL in PyThreadState_Clear is both useless and not a concern of PyThreadState_Clear. These fields are managed by Ensure/Release, not PyThreadState_New/Clear/Delete and we are not clearing or touching any of the other ensure fields. I'd remove that line from PyThreadState_Clear and write the relevant part of PyThreadState_Release as: 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;
} |
Sorry, something went wrong.
|
Thanks for the reviews, both of you! Sorry again about the rushing. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.