[issue18933] Add link to source code in logging documentation

Jonathan Frere report at bugs.python.org
Thu Sep 5 18:44:41 CEST 2013


Jonathan Frere added the comment:

Well, if all the modules could link back to source code, that would be ideal, it's just the logging happens to be the one that I keep coming back to.  Encouraging users to read the source will hopefully help people understand the modules they're using conceptually, and also give people more sample code to use.

That said, a number of modules link back to the source, particularly small single-file implementations of things, such as glob, fnmatch, string, pprint, repr, types, UserDict, weakref, Queue, sched, to name a few that I randomly opened.

Why logging in particular?  Well, as I said, I keep on coming back to it, so at least one Python user feels this need.  Secondly, it's a module that perhaps isn't quite as conceptually clear as others (hence the 'alternatives' that abound).  Thirdly, parts of the module such as logging.handlers will be directly used as templates by many developers.

----------

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


More information about the Python-bugs-list mailing list