[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

Andrej A Antonov report at bugs.python.org
Tue Dec 16 05:50:36 CET 2014


Andrej A Antonov added the comment:

ok, let's go to other side of this problem:

question: why default transport (xmlrpc.client.Transport()) is not setting value of timeout?``

answer: because *unknown* which value need to using by default.

in various cases programmer need various timeout. default value of timeout for default transport -- what may be this number?

may be value "300" for timeout of default transport (xmlrpc.client.Transport()) may be normal in *most_cases*. but this will brake legacy soft that using socket.setdefaulttimeout(...)

----------

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


More information about the Python-bugs-list mailing list