[issue2001] Pydoc interactive browsing enhancement

Ron Adam report at bugs.python.org
Sun Nov 14 08:26:41 CET 2010


Ron Adam <ron_adam at users.sourceforge.net> added the comment:

Ok, here is the latest patch for review.  "issue2001_a.diff'

I restored the pydoc.py file and then put most of the new code in these two functions,

  _startserver(urlhandler, port)
  _browse(port=0, *, open_browser=True)

This creates a bettor organized file, and reduces the number of names with leading underscores.  As far as I know you can't import things that are located inside a function.

I still need to depreciate the '-g' option and the gui() function along with the old server parts.

Is there a guide on how to depreciate things?

----------
Added file: http://bugs.python.org/file19604/issue2001_a.diff

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


More information about the Python-bugs-list mailing list