Alejandro Marco Ramos added the comment:
In response to msg178860.
When use the module logging and in the definition of the format string appear
'%(funcName)s' the module crash.
(Extract):
File
"/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py",
line 724, in emit
msg = self.format(record)
File
"/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py",
line 610, in format
return fmt.format(record)
File
"/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py",
line 403, in format
s = self._fmt % record.__dict__
KeyError: 'funcName'
The object 'record' not contain attribute 'funcName' and line 403 (s =
self._fmt % record.__dict__) crash.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16844>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com