[issue38780] SysLogHandler crash atexit
Jason R. Coombs
report at bugs.python.org
Sat Dec 5 13:29:14 EST 2020
Jason R. Coombs <jaraco at jaraco.com> added the comment:
Erlend, inspired by your patches, I created https://github.com/python/cpython/pull/23661/commits/e9723003d49c722d57a69e5016b442d4d752fc6d, which uses a NullSocket instance instead of None, allowing the behavior-suppression to be encapsulated in a single place and swapped out by creation of a proper socket instance.
I do believe this approach addresses the issue. Are you still willing to put together a test case or more?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38780>
_______________________________________
More information about the Python-bugs-list
mailing list