Vinay Sajip added the comment:

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.

----------

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

Reply via email to