Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4a.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'cpython': 0.05; 'subject:Python': 0.06; '2to3': 0.09; 'migration': 0.09; 'rewrite': 0.09; 'subject:language': 0.09; 'python': 0.11; 'language,': 0.12; '2.7': 0.14; 'language.': 0.14; 'changes': 0.15; '*next*': 0.16; '3.3,': 0.16; 'backward': 0.16; 'fork': 0.16; 'interpreter,': 0.16; 'perceived': 0.16; 'subject: \n ': 0.16; 'folks': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'driven': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; "doesn't": 0.30; 'especially': 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'towards': 0.31; 'fri,': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'too': 0.37; 'project': 0.37; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'users': 0.40; 'simply': 0.61; 'pick': 0.64; 'provide': 0.64; 'different': 0.65; 'yes': 0.68; 'long-term': 0.74; 'subject:this': 0.83; 'conservative': 0.84; 'route': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/ALL61imZb1vv2Y5RijOFUHKIKOMp1U4z2rfG6eI9Lw=; b=XsC3PYYyQnP3Hk1MrvxeOogqnP9aVZF/d4FA9PPYTw0+CwV5OuA3bLYhRxz68DNXYH ZAmn5ZTSDUaAHN9G+cTmy+FsdvFsJ4Dg6rvmUB3R3gBqmt8tQffQuI7UAtxVBo3oyb1s eUZ85lYVeE1GgAzXfJJeHq9K1DkBbC4E3Gnjyg4nDvGVybLNUoOqWIXMIyM5UeqADGfV js8WyVVRXYUfJZ6Q6kZzAjUkHA1TIeTn96e6HvHCSrtkcGM7fc5FFN510ywgE9lzvKhh Nql6D2P1ePOvYwj9ADZEhaSoduCg1n0Hy888qNpL8qtRETynsmpErw4CCeIzCarcbYsR TBYg== X-Received: by 10.68.242.68 with SMTP id wo4mr19194768pbc.32.1396674503284; Fri, 04 Apr 2014 22:08:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <53364327$0$29994$c3e8da3$5496439d@news.astraweb.com> <53365F55.2040302@gmail.com> <533836c4$0$29994$c3e8da3$5496439d@news.astraweb.com> <533F2D0F.2080806@gmail.com> <533F3796.1000807@gmail.com> From: Ian Kelly Date: Fri, 4 Apr 2014 23:07:43 -0600 Subject: Re: Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list) To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396674512 news.xs4all.nl 2849 [2001:888:2000:d::a6]:50324 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69712 On Fri, Apr 4, 2014 at 10:40 PM, Chris Angelico wrote: > On Sat, Apr 5, 2014 at 3:10 PM, Mark H Harris wrote: >> we don't want folks to be driven away from Cpython as a language, and we >> don't want them to fork the Cpython interpreter, so we'll take a very casual >> and methodically conservative approach to nudging people towards a Cpython3 >> migration route > > If it's too much work to make the changes to move something from > Python 2.7 to Python 3.3, it's *definitely* too much work to rewrite > it in a different language. There would have to be some strong other > reason for shifting, especially since there's a 2to3 but not a > PytoRuby. For whatever the current project is, yes -- if there's no route to Python 3 then they will simply be stuck on Python 2.7 indefinitely. However, if Python is perceived as a language that doesn't provide backward compatibility and long-term maintainability via some migration path, then users will be less likely to pick Python for their *next* project.