Andrew Bennetts <s...@users.sourceforge.net> added the comment: I have a reproduction script on the Ubuntu bug report I just filed for this issue: <https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/615240>
Pasting here for convenience: """ import socket import threading sock_a, sock_b = socket.socketpair() sock_a = socket.socket(_sock=sock_a) def read_byte_then_close(s): data = s.recv(1) s.close() t = threading.Thread(target=read_byte_then_close, args=(sock_b,)) t.start() file_a = sock_a.makefile('w') file_a.writelines(['a'*8192]*1000) file_a.flush() t.join() """ It's not quite good enough to add to the test suite yet IMO, but it's a starting point. ---------- nosy: +spiv _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com