Message210610
There's a small possibility that someone could be relying on logging.config.RESET_ERROR being present, so I think it makes more sense to:
1. Leave RESET_ERROR as a module attribute, but set it unconditionally to
errno.ECONNRESET.
2. Use e.errno rather than e.args[0], and compare it against RESET_ERROR
since that's available, in the exception suite. |
|
Date |
User |
Action |
Args |
2014-02-08 10:18:43 | vinay.sajip | set | recipients:
+ vinay.sajip, ngie, r.david.murray |
2014-02-08 10:18:43 | vinay.sajip | set | messageid: <1391854723.63.0.816856796063.issue20558@psf.upfronthosting.co.za> |
2014-02-08 10:18:43 | vinay.sajip | link | issue20558 messages |
2014-02-08 10:18:43 | vinay.sajip | create | |
|