[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread STINNER Victor
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

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread STINNER Victor
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

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread Éric Araujo
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

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread Ron Adam
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