gh-140414: streamline thread state access in asyncio (#142742)

This commit is contained in:
Kumar Aditya 2025-12-15 16:57:51 +05:30 committed by GitHub
parent 15c9d9027e
commit fb554ad68d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 33 deletions

View file

@ -190,7 +190,7 @@ context_switched(PyThreadState *ts)
}
static int
int
_PyContext_Enter(PyThreadState *ts, PyObject *octx)
{
ENSURE_Context(octx, -1)
@ -220,7 +220,7 @@ PyContext_Enter(PyObject *octx)
}
static int
int
_PyContext_Exit(PyThreadState *ts, PyObject *octx)
{
ENSURE_Context(octx, -1)