[issue45201] API function PySignal_SetWakeupFd is not exported and unusable

2021-09-29 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-45316: [C API] Functions not exported with PyAPI_FUNC(). -- nosy: +vstinner ___ Python tracker ___ _

[issue45201] API function PySignal_SetWakeupFd is not exported and unusable

2021-09-14 Thread Cy
New submission from Cy : I want to wait on curl_multi_wait which messes up python's signal handling since libcurl doesn't know to exit the polling loop on signal. I created a pipe that curl could read from when python registered a signal, and PySignal_SetWakeupFd would write to the pipe, thus