[New-bugs-announce] [issue16844] funcName in logging module for python 2.6

Alejandro Marco Ramos report at bugs.python.org
Wed Jan 2 23:37:22 CET 2013


New submission from Alejandro Marco Ramos:

hi, when use the param 'funcName' in the logging module (version 0.4.9.6 for python 2.6) the module crash. Researching in the code (__init__.py) i see that the code for get the function name is in method '_log' in the class 'Logger'. The function 'findCaller()' returns in the last value the name of the function (in the variable name 'func'), but this variable is not present in the caller function for create a 'record' object (in this case 'makeRecord'). I added code to fix this but i like that review this bug.

----------
components: Extension Modules
messages: 178859
nosy: amarco
priority: normal
severity: normal
status: open
title: funcName in logging module for python 2.6
type: crash
versions: Python 2.6

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


More information about the New-bugs-announce mailing list