[Python-Dev] logging doc broken

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Dec 13 11:31:35 CET 2010

K. Richard Pixley <rich <at> noir.com> writes:

> I'm not sure where to report this but the online doc appears to be 
> mismatched to python-2.6.5 for the logging module.
> Specifically, for a dir of an instance of a LogRecord, I'm seeing:
> ['__doc__', '__init__', '__module__', '__str__', 'args', 'created', 
> 'exc_info', 'exc_text', 'filename', 'funcName', 'getMessage', 
> 'levelname', 'levelno', 'lineno', 'module', 'msecs', 'msg', 'name', 
> 'pathname', 'process', 'processName', 'relativeCreated', 'thread', 
> 'threadName']
> while the documentation lists a different set of attributes including "lvl".

Please report this on bugs.python.org. Check that you were referring to the 2.6
documentation - I didn't see any references to attributes there (following a
quick scan). Ideally, link to the wrong doc section on docs.python.org in your
bug report.


Vinay Sajip

More information about the Python-Dev mailing list