Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:two': 0.07; 'latter': 0.09; 'lawrence': 0.09; 'lines.': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'delighted': 0.16; 'java.': 0.16; 'quest': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:based': 0.16; 'subject:key': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'feb': 0.22; '>>>': 0.22; 'header :User-Agent:1': 0.23; 'tracker': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'code': 0.31; 'subject:per': 0.31; 'running': 0.33; 'subject:from': 0.34; 'subject:lists': 0.35; 'raising': 0.36; 'reflect': 0.36; 'entry': 0.36; "i'll": 0.36; 'changing': 0.37; 'to:addr:python-list': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'received:org': 0.40; 'ian': 0.60; 'new': 0.61; "you're": 0.61; 'times': 0.62; 'name': 0.63; 'our': 0.64; 'charset:windows-1252': 0.65; 'containing': 0.69; '100': 0.79; '2015': 0.84; 'zen': 0.84; 'edwards': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Create dictionary based of x items per key from two lists Date: Sun, 01 Feb 2015 20:28:42 +0000 References: <0dddee06-233b-436a-be48-3c16e62c1718@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-48.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422822531 news.xs4all.nl 2918 [2001:888:2000:d::a6]:45827 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85025 On 01/02/2015 19:36, Ian Kelly wrote: > On Sun, Feb 1, 2015 at 11:49 AM, Mark Lawrence wrote: >> On 01/02/2015 18:14, Grant Edwards wrote: >>> A loop containing 1 line of code will execute in the same abount of >>> time as that loop with 1 line of code and 99 blanks lines. >>> >>> The latter loop is running at 100 times as many lines/second as the >>> former. That's _got_ to be better. >>> >> >> At long last my quest seeking the final entry for the Zen of Python is over. >> I'll be delighted to let you accept the honour of raising an issue on the >> bug tracker to get the "this" module changed to reflect my new found wisdom. > > And while you're at it, please also work on changing the name of the > module to "self" -- "this" is for Java. > I think that'll need a PEP :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence