Éric Araujo <mer...@netwok.org> added the comment:

I’ve checked the code and this is the only place where logger.* is not 
protected by a check for None.  There is no unit test, though.

My patch adds two things: Make one formatting call lazy (use logging.info(one, 
two) instead of one % two), lower-case one message for consistent output).  If 
we want to be ultra-conservative, Kelsey’s patch is to be preferred.

----------
nosy: +georg.brandl
Added file: http://bugs.python.org/file20610/fix-11045.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11045>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to