def _getCallingContext():
frames = inspect.stack()<EOL>if len(frames) > <NUM_LIT:4>:<EOL><INDENT>context = frames[<NUM_LIT:5>]<EOL><DEDENT>else:<EOL><INDENT>context = frames[<NUM_LIT:0>]<EOL><DEDENT>modname = context[<NUM_LIT:1>]<EOL>lineno = context[<NUM_LIT:2>]<EOL>if context[<NUM_LIT:3>]:<EOL><INDENT>funcname = context[<NUM_LIT:3>]<EOL><DEDENT>else:<EOL><INDENT>funcname = "<STR_LIT>"<EOL><DEDENT>del context<EOL>del frames<EOL>return modname, funcname, lineno<EOL>
Utility function for the RedisLogRecord.

Returns the module, function, and lineno of the function 
that called the logger.  

We look way up in the stack.  The stack at this point is:
[0] logger.py _getCallingContext (hey, that's me!)
[1] logger.py __init__
[2] logger.py makeRecord
[3] _log
[4] <logging method>
[5] caller of logging method