[issue18413] logging.error('asdf', extra={'msg':123}) raise KeyError exception

2013-07-09 Thread Christian Heimes
Christian Heimes added the comment: The issue is covered by the docs: http://docs.python.org/2.7/library/logging.html#logging.Logger.debug > The keys in the dictionary passed in extra should not clash with the keys > used by the logging system. You can't use a couple of reserved keys like 'ms

[issue18413] logging.error('asdf', extra={'msg':123}) raise KeyError exception

2013-07-09 Thread Артем Меженин
Changes by Артем Меженин : -- components: +Library (Lib) type: -> behavior versions: +Python 2.7 ___ Python tracker ___ ___ Python-bu

[issue18413] logging.error('asdf', extra={'msg':123}) raise KeyError exception

2013-07-09 Thread Артем Меженин
New submission from Артем Меженин: Hello. I noticed strange behavior of logging module, when debugging my code: $ python Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import logging >>> logging.erro