Issue 1278102: help() broken, especially on Windows (original) (raw)
The for loop that pydoc.Helper's init uses to find the location of Python docs doesn't work. It will reject the standard setting of 'http://www.python.org/doc/current/lib/'. Also, the loop should probably break after setting self.docdir.
On Windows, setting PYTHONDOCS to the installation's doc directory will not make it work, because the doc is now distributed as a single file, 'Python24.chm', so there is no 'lib' sub-directory.