Jason R. Coombs <jar...@jaraco.com> added the comment:

I could imagine extending the shutdown code to catch the reported error 
(https://github.com/python/cpython/blob/138ccbb02216ca086047c3139857fb44f3dab1f9/Lib/logging/__init__.py#L2130-L2135),
 but that wouldn't address the error in emit.

Similarly, the SysLogHandler could override shutdown to bypass the error if no 
socket attribute is present, but that again wouldn't address the emit case.

----------

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

Reply via email to