Re: pickle.dump (obj, conn)

2014-03-14 Thread dieter
Pedro Izecksohn 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

Re: pickle.dump (obj, conn)

2014-03-13 Thread Ian Kelly
On Thu, Mar 13, 2014 at 4:36 PM, Pedro Izecksohn wrote: > Shouldn't pickle.dump (obj, conn) raise an Exception if conn is a TCP > connection that was closed by the remote host? Can you be more specific about what you are doing, what you expect the result to be, and what the actual result is? h