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 Yuri.Bochkarev, agriffis, alanjds, amak, cananian, demian.brecht, icordasc, jcea, jhylton, martin.panter, mhammond, orsenthil, r.david.murray, rbcollins
Date 2015-02-20.04:08:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424405289.57.0.921269283259.issue3566@psf.upfronthosting.co.za>
In-reply-to
Content
I guess you saying RemoteDisconnected effectively means the same thing as ConnectionResetError. Would it help if it was derived from ConnectionResetError, instead of the ConnectionError base class? Or are you also worried about the multiple inheritance or clutter of yet another type of exception?

I’m not really familiar with the “asyncio” streams/protocols/transports/thingies, but it looks like the code you pointed to is actually called when writing, via drain(), fails. Maybe the equivalent code for when reading hits EOF is <https://hg.python.org/cpython/file/041a27298cf3/Lib/asyncio/streams.py#l239>.
History
Date User Action Args
2015-02-20 04:08:09martin.pantersetrecipients: + martin.panter, jhylton, mhammond, jcea, orsenthil, amak, rbcollins, cananian, r.david.murray, alanjds, agriffis, icordasc, demian.brecht, Yuri.Bochkarev
2015-02-20 04:08:09martin.pantersetmessageid: <1424405289.57.0.921269283259.issue3566@psf.upfronthosting.co.za>
2015-02-20 04:08:09martin.panterlinkissue3566 messages
2015-02-20 04:08:09martin.pantercreate