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


Groups > comp.lang.python > #68358

Re: pickle.dump (obj, conn)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'output': 0.05; 'detect': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'reliably': 0.16; 'tcp': 0.16; 'exception': 0.16; 'header :User-Agent:1': 0.23; "shouldn't": 0.24; 'header:X-Complaints- To:1': 0.27; 'raise': 0.29; 'related': 0.29; 'writes:': 0.31; 'quite': 0.32; 'subject: (': 0.35; 'connection': 0.35; 'should': 0.36; 'remote': 0.38; 'to:addr:python-list': 0.38; 'channel': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'behavior': 0.77; 'informed': 0.78
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: pickle.dump (obj, conn)
Date Fri, 14 Mar 2014 08:27:27 +0100
References <1394750199.11584.YahooMailNeo@web140104.mail.bf1.yahoo.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host pd9e0acc0.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:Yxmde3/v1gqb20hth7SyrZFLlRk=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8145.1394782063.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394782063 news.xs4all.nl 2864 [2001:888:2000:d::a6]:53684
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68358

Show key headers only | 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