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: 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: References: <878ubr3gv8.fsf@elektro.pacujo.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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.