[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

Charles-François Natali report at bugs.python.org
Tue Nov 15 21:40:07 CET 2011


Charles-François Natali <neologix at free.fr> added the comment:

Here's a patch removing the automatic retry on ECONNREFUSED: I tested it on Linux and other Unices, and it seems to work just fine without this hammering.
Note that there's a similar mechanism for Windows (ERROR_PIPE_BUSY), but it seems to be necessary there (test_multiprocessing blows up without this). Note that I'd rather only apply this to default (not 2.7 and 3.2), since this is more of a behavior change than a bug fix.

----------
keywords: +needs review, patch
stage:  -> patch review
versions: +Python 3.3 -Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13215>
_______________________________________


More information about the Python-bugs-list mailing list