This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients JelteF, SilentGhost, martin.panter
Date 2016-02-21.21:25:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456089931.75.0.578521627171.issue26402@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-02-21 21:25:31martin.pantersetrecipients: + martin.panter, SilentGhost, JelteF
2016-02-21 21:25:31martin.pantersetmessageid: <1456089931.75.0.578521627171.issue26402@psf.upfronthosting.co.za>
2016-02-21 21:25:31martin.panterlinkissue26402 messages
2016-02-21 21:25:31martin.pantercreate