Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68358

Re: pickle.dump (obj, conn)

From dieter <dieter@handshake.de>
Subject Re: pickle.dump (obj, conn)
Date 2014-03-14 08:27 +0100
References <1394750199.11584.YahooMailNeo@web140104.mail.bf1.yahoo.com>
Newsgroups comp.lang.python
Message-ID <mailman.8145.1394782063.18130.python-list@python.org> (permalink)

Show all headers | View raw


Pedro Izecksohn <izecksohn@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". 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pickle.dump (obj, conn) dieter <dieter@handshake.de> - 2014-03-14 08:27 +0100

csiph-web