Martin Panter added the comment: Patch v3:
* Changed the structure of exception handling for the forking server so that there is only one os._exit(status) call site * Rewrote tests to log results to a temporary file. This avoids sending a string of code to a Python subprocess. I use threading.Event and os.waitpid() to synchronize. * Tests now call the handle_request() public API, and create a trivial TCP connection to trigger a request. * Added doc string explaining simple_subprocess() Let me know what you think. ---------- Added file: http://bugs.python.org/file38717/socketserver-exit.v3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23430> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com