[issue21172] Unexpected behaviour with logging.LogRecord "first arg is dict" case

Vinay Sajip report at bugs.python.org
Wed Apr 9 02:07:26 CEST 2014


Vinay Sajip added the comment:

Thanks for pinpointing what the issue is.

> checking for isinstance(..., dict) is still wrong - it should at least
> be collections.Mapping to give users a chance to emulate the correct
> interface.

That seems reasonable.

----------
resolution: invalid -> 

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


More information about the Python-bugs-list mailing list