Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.060 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.01; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'default)': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'merged': 0.16; 'morgan': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'now?': 0.24; 'cc:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'patch': 0.29; 'streaming': 0.30; 'message- id:@mail.gmail.com': 0.30; 'getting': 0.31; 'file': 0.32; 'received:google.com': 0.35; 'pm,': 0.38; 'does': 0.39; 'new': 0.61; "you're": 0.61; 'alfred': 0.84; 'subject:long': 0.84; 'url:cpython': 0.84; 'subject:very': 0.91; 'to:none': 0.92 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=Uu2I5PQVMpHnlxIjLwSaJ/jXS18PHLeIrw4imc/pUL8=; b=FBR7iXSAFyqFKtjXbvQkcJj3Kx5cq0IzmKI1Q7Y/MhT52DkB+W9DL5eqdWaiaq3Ehx Zs8iP564qEaP8xAist3nAi5qKLDKiIJdm2i+uKBLMV30FDknOmSGnUbUYmFV48QhBnOu Z5cjtRaXJrAEXP3SGE0li/nrBLBYkAtBgd1dIKJtw9L6+hv8xaUtNMSavu19GbvueBZs KtsPUSpE/d7+E7ghj8z8kQtN9WG3pEzAduLLPzrH5UdIIqDHclVch2ei7bnykRlgc+M8 qbkL/To5IFmycofvaMaPzmYm2hzBzBHEQBgjo7DYdKHhB/pul6CxjjFhTg+UBelJw1IH 9LQQ== MIME-Version: 1.0 X-Received: by 10.43.94.7 with SMTP id bw7mr64462487icc.26.1412168802298; Wed, 01 Oct 2014 06:06:42 -0700 (PDT) In-Reply-To: <209e604c-1a18-43ff-9358-12fb784d3d4c@googlegroups.com> References: <4232c92a-101c-4a1b-89b2-e80d67ef7bc6@googlegroups.com> <209e604c-1a18-43ff-9358-12fb784d3d4c@googlegroups.com> Date: Wed, 1 Oct 2014 23:06:42 +1000 Subject: Re: JSON-encoding very long iterators From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412168805 news.xs4all.nl 2943 [2001:888:2000:d::a6]:39646 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3455 X-Received-Body-CRC: 3506317844 Xref: csiph.com comp.lang.python:78547 On Wed, Oct 1, 2014 at 8:13 PM, Alfred Morgan wrote: > I added a stream flag (off by default) and also added file streaming (thanks for the idea). > > https://github.com/Zectbumo/cpython/compare/2.7 > > What do you think now? I think that you're adding features to Python 2.7, which isn't getting new features. That won't be merged into trunk. Does your patch apply to 3.x? ChrisA