]> granicus.if.org Git - python/commit
Issue #23618, #22117: refactor socketmodule.c
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Mar 2015 21:59:32 +0000 (22:59 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Mar 2015 21:59:32 +0000 (22:59 +0100)
commitb7df3144ef14ec50650dfd47da4ba09ee0bc674c
treea1432d2b668e4a57b24b60b02a80fd676208e982
parent34dc0f46ae5c0c9ec91d9402fac61111b802855f
Issue #23618, #22117: refactor socketmodule.c

Move Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS inside internal_select_ex() to
prepare a switch to the _PyTime_t type and retry syscall on EINTR.
Modules/socketmodule.c