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


Groups > comp.lang.python > #92438

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'globals': 0.09; 'received:internal': 0.09; 'wed,': 0.15; '*only*': 0.16; 'gregory': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'language': 0.19; 'subject:request': 0.22; 'unlike': 0.23; 'header:In-Reply-To:1': 0.24; 'subject:/': 0.29; 'table': 0.32; 'framework': 0.32; 'to:addr:python-list': 0.35; 'handle': 0.36; 'but': 0.36; 'being': 0.36; 'should': 0.37; 'received:10': 0.37; 'subject:: ': 0.37; 'rather': 0.38; 'received:66': 0.38; 'enough': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'close': 0.61; 'from:no real name:2**0': 0.61; 'providing': 0.61; 'header:Message-Id:1': 0.62; 'goal': 0.64; 'stated': 0.70; 'subject:read': 0.84; 'subject:write': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=f8dyobo0fVcbKL5cPxXBrkIHywc=; b=SwjjyO SgfKz1uY27KbTlH8Xxex7413LXzM0WBQE8S0mg0innql/YHQXFlRjzQBxrVrmSR5 VfYiAeEOFlHvRPo5a6D0hKlPc1uy+Piw/n3LPDWx9tBT1O0+0956UiZ6DF77Siun pxBAd21EuOO0Ku0hLcFJ/Fj1BctWhvPj+66WE=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=f8dyobo0fVcbKL5 cPxXBrkIHywc=; b=hiAdw/CO0u1nfQ5C8lfuJHO05GdL0AR+ctDSgny8Wzo9mMD 6KHV2K/5P7xDreSCzl7/Y4U2bCXIqlgPR+jXX7RMiuhg3+XEoCGGKRPHQK+HmjdE FfW4N+2nJ1q6nv3SZR4QwJgiKcMhSxoOWrg2sZN8nBkFEtKUZDh7aeefogJ8=
X-Sasl-Enc xzk6L7cQUfill4cnO8A5HGqJUZR2+juvV9vCVLyRSPvn 1433983674
From random832@fastmail.us
To python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-ff004c4b
In-Reply-To <ctrvkhFfutdU1@mid.individual.net>
References <ml7a2p$hp$1@ger.gmane.org> <CAMw+j7K7JmRPo3PnzTE2rZEstdZRF085+VA=v1ieMMHk2Gp6mQ@mail.gmail.com> <ml95k2$8ka$1@ger.gmane.org> <mailman.337.1433935377.13271.python-list@python.org> <878ubr3gv8.fsf@elektro.pacujo.net> <mailman.341.1433944371.13271.python-list@python.org> <ctrvkhFfutdU1@mid.individual.net>
Subject Re: enhancement request: make py3 read/write py2 pickle format
Date Wed, 10 Jun 2015 20:47:54 -0400
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.371.1433983690.13271.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433983690 news.xs4all.nl 2967 [2001:888:2000:d::a6]:34149
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92438

Show key headers only | View raw


On Wed, Jun 10, 2015, at 19:30, Gregory Ewing wrote:
> If whitelisting a type is the *only* thing you need to
> do to make it serialisable, I think that comes close
> enough to the stated goal of being able to "serialise
> all [potentially serialisable] language objects".

IMO the serialization framework should handle this by providing your own
way to look them up (almost but not entirely unlike providing your own
globals table to eval) rather than by having a whitelist.

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


Thread

Re: enhancement request: make py3 read/write py2 pickle format Robert Kern <robert.kern@gmail.com> - 2015-06-10 12:22 +0100
  Re: enhancement request: make py3 read/write py2 pickle format Marko Rauhamaa <marko@pacujo.net> - 2015-06-10 15:08 +0300
    Re: enhancement request: make py3 read/write py2 pickle format random832@fastmail.us - 2015-06-10 09:38 -0400
    Re: enhancement request: make py3 read/write py2 pickle format Robert Kern <robert.kern@gmail.com> - 2015-06-10 14:52 +0100
      Re: enhancement request: make py3 read/write py2 pickle format Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-06-11 11:30 +1200
        Re: enhancement request: make py3 read/write py2 pickle format random832@fastmail.us - 2015-06-10 20:47 -0400

csiph-web