[issue29054] pty.py: pty.spawn hangs after client disconnect over nc (netcat)

Cornelius Diekmann report at bugs.python.org
Fri Dec 23 14:40:39 EST 2016


Cornelius Diekmann added the comment:

I wrote a proper patch for the issue of handling EOF in STDIN, including tests. My patch is against the github mirror head, but don't worry, the files I touch haven't been touched in recent years ;-)

I only tested on Linux. My patch only addresses the issue in this thread. It does not include the patch for issue26228. I still recommend to also merge the patch for issue26228 (but I don't have a FreeBSD box to test).

----------
versions: +Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46010/pty.patch

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


More information about the Python-bugs-list mailing list