[issue2001] Pydoc interactive browsing enhancement
report at bugs.python.org
Mon Nov 15 18:55:03 CET 2010
Ron Adam <ron_adam at users.sourceforge.net> added the comment:
This should be done or very close to done.
The -g option, gui(), and serve() functions are deprecated.
The new features are browse(port, *, open_browser=True), and a '-b' option. The '-p port' option does browse(port=port, open_browser=False), so _startserver() does not need to be part of the API. If anyone wants to access the server directly, then we can discuss making it it's own module, or a submodule in a package.
Because we deprecated the gui() function, I figured we need to make browse() public. The only reason it would need to be private is if we want a different name or signature. (Any thoughts?)
I left Lib/urllib/parse.py, Lib/test/test_pyclbr.py, and Lib/test/test_urlparse.py alone. I presumed you fixed bugs in them that needed to be fixed anyway.
Added file: http://bugs.python.org/file19613/issue2001_b.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list