[issue42644] logging.disable('WARN') breaks AsyncIO
Matthias Bussonnier
report at bugs.python.org
Tue Dec 15 12:36:33 EST 2020
Matthias Bussonnier <bussonniermatthias at gmail.com> added the comment:
I should have been more careful in my explanation in the upstream issue to have a complete report in here.
I think that patching logging.disable to raise a type error immediately would be welcome; as the effect of storing a wrong type make any asyncio application fails in place that can be relatively remote from the location of the erroneous value, and could be quite hard to debug in other circumstances.
----------
nosy: +mbussonn
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42644>
_______________________________________
More information about the Python-bugs-list
mailing list