Roger Serwy <roger.se...@gmail.com> added the comment: The attached patch fixes the problem. The close method does not need to wait for poll_subprocess rescheduling to stop. The subprocess will be killed, which would cause the socket to timeout. With closing=True, poll_subprocess will return and not reschedule.
---------- keywords: +patch Added file: http://bugs.python.org/file24077/issue5492.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5492> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com