Senthil <orsent...@gmail.com> added the comment: This is issue is FIXED in the trunk code. Please ignore my previous comment.
The problem area is in between line 350-352 in the Python 3.0:pydoc.py module. 348 docloc = os.environ.get("PYTHONDOCS", 349 "http://docs.python.org/library") 350 docdir = '/usr/share/doc/python%s/html/library' % sys.version[:3] 351 if not os.environ.has_key("PYTHONDOCS") and os.path.isdir(docdir): 352 docloc = docdir Setting the PYTHONDOCS environment variable still wont work becaues in Python3k, os.environ does not have has_key attribute, will throw an exception which is caught somewhere and the module location is returned instead of its help file,which pydoc uses to display help. I see that its fixed in trunk where in the lines 350-352 is removed and pydoc.help() is gathered from local help files if PYTHONDOCS is set or from the docs.python.org/library location. This works properly with Python3.1 and this issue can be Closed as Fixed in 3.1. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5560> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com