[Python-checkins] r83123 - in python/branches/release27-maint: Lib/xmlrpclib.py Misc/NEWS

A.M. Kuchling amk at amk.ca
Sun Jul 25 00:47:03 CEST 2010


On Sat, Jul 24, 2010 at 04:51:49AM +0200, victor.stinner wrote:
> New Revision: 83123
> 
> Log:
> Backport of 83120 (#9032)
> 
> XML-RPC client: Transport.request() retries on EPIPE error
  ...
> Remove also a comment in the HTTP client because it's now wrong: see r70643 and
> issue #5542.

I think this commit message is wrong on the 2.7-maint branch since it
doesn't look like you backported the comment removal; I suggest
editing the log message on this revision to take out the misleading
paragraph.

--amk


> 
> 
> Modified:
>    python/branches/release27-maint/   (props changed)
>    python/branches/release27-maint/Lib/xmlrpclib.py
>    python/branches/release27-maint/Misc/NEWS
> 
> Modified: python/branches/release27-maint/Lib/xmlrpclib.py
> ==============================================================================
> --- python/branches/release27-maint/Lib/xmlrpclib.py	(original)
> +++ python/branches/release27-maint/Lib/xmlrpclib.py	Sat Jul 24 04:51:49 2010
> @@ -1263,7 +1263,7 @@
>              try:
>                  return self.single_request(host, handler, request_body, verbose)
>              except socket.error, e:
> -                if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED):
> +                if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED, errno.EPIPE):
>                      raise
>              except httplib.BadStatusLine: #close after we sent request
>                  if i:
> 
> Modified: python/branches/release27-maint/Misc/NEWS
> ==============================================================================
> --- python/branches/release27-maint/Misc/NEWS	(original)
> +++ python/branches/release27-maint/Misc/NEWS	Sat Jul 24 04:51:49 2010
> @@ -18,6 +18,10 @@
>  Library
>  -------
>  
> +- Issue #9032: XML-RPC client retries the request on EPIPE error. The EPIPE
> +  error occurs when the server closes the socket and the client sends a big
> +  XML-RPC request.
> +
>  - Issue #5542: Remove special logic that closes HTTPConnection socket on EPIPE.
>  
>  - Issue #4629: getopt raises an error if an argument ends with = whereas getopt
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins


More information about the Python-checkins mailing list