Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed1.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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'true,': 0.05; 'matched': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'works.': 0.09; 'jan': 0.12; 'pairs': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'simpson': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'context,': 0.31; 'etc': 0.35; 'no,': 0.35; 'but': 0.35; 'subject:?': 0.36; 'turn': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'side': 0.67; 'on...': 0.68; 'bag': 0.74; 'received:fios.verizon.net': 0.84; 'teeth': 0.84; 'edwards': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: What does zip mean? Date: Mon, 10 Nov 2014 19:39:22 -0500 References: <20141110203601.GA69721@cskk.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-108-16-203-145.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <20141110203601.GA69721@cskk.homeip.net> 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1415666382 news.xs4all.nl 2971 [2001:888:2000:d::a6]:51322 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80500 On 11/10/2014 3:36 PM, Cameron Simpson wrote: > On 10Nov2014 17:19, Grant Edwards wrote: >> On 2014-11-10, giacomo boffi wrote: >>> To help you understanding what is the `zip` builtin, please forget >>> about PKZip etc and think about the _zip fastener_ or _zipper_ in >>> your bag or in your trousers >>> >>> In the bag you have two sequences of teeth that the zipper >>> binds together in interlocking pairs >> >> No, you don't. That's not how a zipper works. Each tooth from side A, >> isn't bound with one from side B. It's bound with _two_ of them from >> side B. And each of those is in turn bound with an additional tooth >> from side A, and so on... > > This is true, but the analogy is still the correct one:-) Perhaps ironically in this context, zippers replaced hook-and-eye fastening, where the two sequences *are* matched in parallel. "Hookless fastener" was one of the original names (Wikipedia). -- Terry Jan Reedy