Bug description:
|
Py_UNBLOCK_THREADS |
|
if (!newbuf) { |
|
sig = -1; |
|
PyErr_NoMemory(); |
PyErr_NoMemory will call _PyThreadState_GET, which will return NULL without holding the GIL.
A PR is on the way.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Bug description:
cpython/Modules/_io/winconsoleio.c
Lines 676 to 679 in 0ed497a
PyErr_NoMemorywill call_PyThreadState_GET, which will returnNULLwithout holding the GIL.A PR is on the way.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs