[issue2001] Pydoc interactive browsing enhancement

Nick Coghlan report at bugs.python.org
Mon Nov 8 12:40:26 CET 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Yeah, I'll ask for feedback on python-dev regarding the API breakage.

If we decide not to break the existing API, I'd suggest the following:

- keep both the old serve() and the old gui() (with DeprecationWarning added to both) (I'd forgotten your point in the previous python-dev thread that gui() would need changes to work with the new server, which isn't worth the hassle)

- use _startserver(port=0) and _browse(port, *, start=False) for the new components (with the -b option invoking _browse with start=True)

----------

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


More information about the Python-bugs-list mailing list