[issue20918] LogRecord.__init__ should handle exception if % operation fails

R. David Murray report at bugs.python.org
Thu Mar 13 22:16:26 CET 2014


R. David Murray added the comment:

Logging tries to catch errors during logging and log them.  This is an edge case it doesn't handle, because when it tries to log it...it tries to print the arguments, and of course the repr of the argument fails (again).

So I think this is a bug.

----------
nosy: +r.david.murray
stage:  -> needs patch
type: enhancement -> behavior
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20918>
_______________________________________


More information about the Python-bugs-list mailing list