Demian Brecht added the comment:

Trying to reproduce this on my own in 3.5, 2.7 and 2.5 yields a 
ConnectionResetError (ECONNRESET), which seems to be correct. That said, this 
could be due to varying TCP implementations on the server so might still be 
valid. It could also be due to an older kernel which has been fixed since this 
was originally reported. Is this still reproducible? If so, can an example be 
provided?

If the error as written is reproducible, I think that the error message should 
be fixed, but I'm not so sure that any more than that should be done.


As far as the RFC goes, I think the MUST clause pointed out can be left to the 
interpretation of the reader. You /could/ consider http.client as the client, 
but you could also consider the application that a user is interacting with as 
the client.

Offhand, I think that the library as it is does the right thing in allowing the 
application code to handle the exceptions as it sees fit. Because http.client 
in its current state doesn't allow for request pipelining, retries from calling 
code should be trivial, if that is what the caller intends to do.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to