Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Bash-like pipes in Python Date: Thu, 17 Mar 2016 12:31:30 -0400 Lines: 11 Message-ID: References: <56e97459$0$1600$c3e8da3$5496439d@news.astraweb.com> <87egbacq2j.fsf@elektro.pacujo.net> <56eabae8$0$1599$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de ykSJL7KdChXEBfu2cKupfgk3yYwtMo7tcM4O8TRSnmyA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'received:internal': 0.09; 'script,': 0.09; 'thu,': 0.15; 'already!': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'quantum': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'sequence': 0.27; "we're": 0.30; 'computing': 0.32; 'operate': 0.32; 'subject:like': 0.33; 'add': 0.34; 'protocol': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'list.': 0.37; 'received:66': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'mar': 0.65; 'here': 0.66; "it'd": 0.84; 'step,': 0.84; "they'd": 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.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=mesmtp; bh=A8Us7u313ahmNpSiZUiHxz3pNpc=; b=XiJXUT y3cvhQYMvIML4AoE6MvFTXYnsvuI4xQUKRWWr3cwo0SVWjj8NNMIflYdh4gUMmkw VwoUITPk11ZV/b2Tu+V1tfPuMXKqz/7XD/Sfxo3ifuMQkBWaO9jMds19on4lHALG aklZN9XegTFMkZcBt3KriVHYiEkxnfZZOp51w= 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=A8Us7u313ahmNpS iZUiHxz3pNpc=; b=HyvWMtF359Y/tt11cvHXJ8uxTAEjSEpBOKxKZMBfAFkgn2S DicD7aOcbV/vO492cRlSLX4K6dQReKQrwg8/lMd3CN4urKQ1eySLvNeY1C/QGNSj aCS6MaQrrUFmv0t0IsvUNsFN4cyifZz7O64L2aI4wezcGThCCXNtrqJ8goMw= X-Sasl-Enc: 5LrzX1mSaKxXAi8zc9NprmMbHQzuo4jPjgmxoI1sUegz 1458232290 X-Mailer: MessagingEngine.com Webmail Interface - ajax-872772a7 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105114 On Thu, Mar 17, 2016, at 10:36, Chris Angelico wrote: > This object has a generator/list duality, but if you observe it, it > collapses to a list. When used interactively, it'd be pretty much the > same as calling list() as the last step, but in a script, they'd > operate lazily. > > Quantum computing is here already! Might as well add the sequence protocol while we're at it.