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


Groups > comp.lang.python > #92395

Re: enhancement request: make py3 read/write py2 pickle format

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.033
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'objects.': 0.09; 'cc:addr :python-list': 0.10; 'wed,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'safely.': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'instance,': 0.18; 'language': 0.19; 'essential': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'subject:request': 0.22; 'programming': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.28; 'subject:/': 0.29; 'pickle': 0.29; 'objects': 0.29; 'language.': 0.32; 'open': 0.33; 'received:google.com': 0.34; 'something': 0.35; "isn't": 0.35; 'subject:: ': 0.37; 'or,': 0.38; 'pm,': 0.39; 'believe': 0.67; 'becker': 0.84; 'chrisa': 0.84; 'subject:read': 0.84; 'subject:write': 0.84; 'to:none': 0.90
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=4oHVpDmMPfumnX/OHtcMvMFEg9C28gRaxyj0r9kmJLI=; b=kdcAee4NJAub0/mPp/JOprUoaLsWfGtwS+nftQ1Kxp9ykhAb8E++I9W2v3nA8N4iZ5 c8sDddhrI+eVcGpkCZZvCxavqS5a4tWzG7wsqo7yUvRLcQmOkVuY1nyEUutgO7UtFqNZ 9bUZEvnt4KBgNK6skf/QcXDNfY+qz+0zc+HnEvsMdpSftOLubp3cw02JXw1XjC4w3etb feRMSaHzqxOQ/bjLlTETiHNSuZC6QnvRWdYOF+5UBkk9scmtGiOYS+I2aSeqGdiSj6r1 IUaNFDC5MW5y6uyxbgAUIn9ju40StuZXz0K7fiaGaGHiOCGq0SHSdf2tNSUUbI8uX8ob SWbQ==
MIME-Version 1.0
X-Received by 10.50.61.241 with SMTP id t17mr5101512igr.34.1433935428419; Wed, 10 Jun 2015 04:23:48 -0700 (PDT)
In-Reply-To <ml95k2$8ka$1@ger.gmane.org>
References <ml7a2p$hp$1@ger.gmane.org> <CAMw+j7K7JmRPo3PnzTE2rZEstdZRF085+VA=v1ieMMHk2Gp6mQ@mail.gmail.com> <ml95k2$8ka$1@ger.gmane.org>
Date Wed, 10 Jun 2015 21:23:48 +1000
Subject Re: enhancement request: make py3 read/write py2 pickle format
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.338.1433935431.13271.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433935431 news.xs4all.nl 2936 [2001:888:2000:d::a6]:58330
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92395

Show key headers only | View raw


On Wed, Jun 10, 2015 at 9:04 PM, Neal Becker <ndbecker2@gmail.com> wrote:
> I believe a good native serialization system is essential for any modern
> programming language.  If pickle isn't it, we need something else that can
> serialize all language objects.  Or, are you saying, it's impossible to do
> this safely?

It is indeed impossible to serialize _all_ objects safely. How do you,
for instance, serialize an open socket?

ChrisA

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


Thread

Re: enhancement request: make py3 read/write py2 pickle format Chris Angelico <rosuav@gmail.com> - 2015-06-10 21:23 +1000

csiph-web