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. Thanks, Vinay Sajip _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com