]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23618: Enhance EINTR handling in socket.connect()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Mar 2015 20:03:59 +0000 (22:03 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Mar 2015 20:03:59 +0000 (22:03 +0200)
commit70a46f635fc89ed20310fdb674b9eff87a907afb
treefcc6764d07ca598c473297ed6bd99d28ed07cce6
parentee699e9d2b8dbac53ee897ddd456ec7399d703de
Issue #23618: Enhance EINTR handling in socket.connect()

Call PyErr_CheckSignals() immediatly if connect() or select() fails with EINTR
in internal_connect().

Refactor also the code to limit indentaton and make it more readable.
Modules/socketmodule.c