Message236249
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>. |
|
Date |
User |
Action |
Args |
2015-02-20 04:08:09 | martin.panter | set | recipients:
+ martin.panter, jhylton, mhammond, jcea, orsenthil, amak, rbcollins, cananian, r.david.murray, alanjds, agriffis, icordasc, demian.brecht, Yuri.Bochkarev |
2015-02-20 04:08:09 | martin.panter | set | messageid: <1424405289.57.0.921269283259.issue3566@psf.upfronthosting.co.za> |
2015-02-20 04:08:09 | martin.panter | link | issue3566 messages |
2015-02-20 04:08:09 | martin.panter | create | |
|