[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes
New submission from STINNER Victor victor.stin...@haypocalc.com: The pydoc module has two DocHandler classes and two DocServer classes. I think that they can be easily factorized. DocServer may also use serve_forever()+shutdown() instead of serve_until_quit()+quit flag, to be able to wait the server (with shutdown()). -- assignee: d...@python components: Documentation, Library (Lib) messages: 125190 nosy: d...@python, haypo priority: normal severity: normal status: open title: pydoc: refactorize duplicate DocHandler and DocServer classes versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes
STINNER Victor victor.stin...@haypocalc.com added the comment: I opened this issue because I had to fix a bug twice in pydoc: r87687 (fix a ResourceWarning(unclosed socket)). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes
Changes by Éric Araujo mer...@netwok.org: -- assignee: d...@python - components: -Documentation nosy: +eric.araujo, ron_adam -d...@python stage: - needs patch type: - feature request versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes
Ron Adam ron_a...@users.sourceforge.net added the comment: No refactoring is needed. The second copies are part of the new server. The old server was depreciated in 3.2 and is supposed to be removed along with the tk panel for 3.3. After that there will only be one of each again. This issue can be used for that purpose. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10818 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com