Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; "ain't": 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:language': 0.09; 'language.': 0.14; 'perceived': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'folks': 0.16; 'language': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'appears': 0.22; 'header:User-Agent:1': 0.23; 'people,': 0.24; '---': 0.24; 'certain': 0.27; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:list': 0.30; 'community': 0.33; 'really': 0.36; 'maintained': 0.36; 'reality': 0.36; 'to:addr:python-list': 0.38; 'embedded': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'free': 0.61; 'break': 0.61; 'viruses': 0.61; 'protection': 0.63; 'our': 0.64; 'places': 0.64; 'more': 0.64; 'antivirus': 0.68; 'subject:this': 0.83; 'beats': 0.84; 'me;': 0.84; 'perceive': 0.84; 'received:2': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list) Date: Fri, 04 Apr 2014 09:20:52 +0100 References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <87ior3w740.fsf@elektro.pacujo.net> <5334c38e$0$29994$c3e8da3$5496439d@news.astraweb.com> <53364327$0$29994$c3e8da3$5496439d@news.astraweb.com> <53365F55.2040302@gmail.com> <533836c4$0$29994$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-192-106.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: X-Antivirus: avast! (VPS 140403-1, 03/04/2014), Outbound message X-Antivirus-Status: Clean 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396599674 news.xs4all.nl 2906 [2001:888:2000:d::a6]:46621 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69654 On 04/04/2014 03:29, Mark H Harris wrote: > > Now, about Python2. It has not died. It appears to be 'useful'. > The perceived reality is that Python2 is 'useful'. Or, is it as I > perceive it, python2 is embedded in so many places that it must be > maintained for a long time because so many code(s) will break otherwise? > Not so much 'useful' as 'used,' so that it is never sacked. > Or, is it really that python2 is so much more 'suitable for a particular > purpose' ('useful') that certain folks just don't want to use python3? > Beats me; the community will have to decide. > For a lot of people, if it ain't broke, don't fix it. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com