[issue35530] Counter-intuitive logging API
Steven D'Aprano
report at bugs.python.org
Wed Dec 19 05:43:47 EST 2018
Steven D'Aprano <steve+python at pearwood.info> added the comment:
> That's true. Maybe and warning or Exception can be raise?
Why would we raise a warning or exception for expected behaviour?
logging.error() and some_instance.error() don't necessarily produce the
same output. What would the exception say?
FatalError: no error occurred
*wink*
> and 3.8?
If you have 3.8 installed, feel free to test the code yourself and
report what happens.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35530>
_______________________________________
More information about the Python-bugs-list
mailing list