]> granicus.if.org Git - python/commit
Issue #10816: multiprocessing.SocketClient() closes the socket on error
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Jan 2011 15:47:59 +0000 (15:47 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Jan 2011 15:47:59 +0000 (15:47 +0000)
commit2b69506c7997881fa7bad2bfd334db747f8cb820
treec0d1999851e59b2502927f750930791b5260ddde
parent90efac7f3794760b3a4d07171b90c86eeb4f2f81
Issue #10816: multiprocessing.SocketClient() closes the socket on error

Use a context manager to close immediatly the socket on error.
Lib/multiprocessing/connection.py