Martin Panter added the comment:

Thankyou Jelte for finding this. We made RemoteDisconnected inherit from 
ConnectionResetError (and therefore OSError) thinking it would help with 
compatibility, but in this case that has backfired. Your patch looks like a 
valid fix.

I would like to figure out a concise way to produce the fault so I can add a 
test case and play with the code. Would I be able to use Python’s XML-RPC 
server, or would I have to make a custom server that dropped the connection?

Also I suspect both exception handlers in the XML-RPC client could be combined 
as “except ConnectionError”, but I want to be sure before making that change.

----------
keywords: +3.5regression

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

Reply via email to