Pedro Izecksohn <izecks...@yahoo.com> writes: > Shouldn't pickle.dump (obj, conn) raise an Exception if conn is a TCP > connection that was closed by the remote host?
It is quite difficult to detect the closing of a TCP channel in a reliable way. At least, you should not trust that you are reliably informed about it. The behavior is related to output to TCP connections, not directly to "pickle". -- https://mail.python.org/mailman/listinfo/python-list