[issue26789] Please do not log during shutdown
INADA Naoki
report at bugs.python.org
Tue Feb 21 23:38:54 EST 2017
INADA Naoki added the comment:
I'm -1 on suppress log silently.
While error message is bit surprising,
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 93, in __del__
File "/usr/lib/python3.5/asyncio/base_events.py", line 1160, in call_exception_handler
...
File "/usr/lib/python3.5/logging/__init__.py", line 1037, in _open
NameError: name 'open' is not defined
This traceback is very meaningful.
You can read tasks.py:93, and find there are pending task remains.
Implementing fallback mechanism make potential risk to miss such very
important traceback.
----------
nosy: +inada.naoki
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26789>
_______________________________________
More information about the Python-bugs-list
mailing list