Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.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.096 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'subject:Python': 0.06; 'rename': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wait.': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'seems': 0.21; 'select': 0.22; 'cc:addr:python.org': 0.22; 'versions': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'minor': 0.31; 'steven': 0.31; 'compatible': 0.32; 'subject:the': 0.34; 'problem': 0.35; 'etc': 0.35; 'no,': 0.35; 'received:google.com': 0.35; 'culture': 0.36; 'functions.': 0.36; 'massive': 0.38; 'how': 0.40; 'break': 0.61; 'skip:a 30': 0.61; 'discuss': 0.62; 'different': 0.65; 'mar': 0.68; 'detail.': 0.68; '2015': 0.84; 'around,': 0.84; 'unacceptable': 0.84; 'upgrade,': 0.84; 'dozen': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=4GhGWt+vzieR2xNHGIGuDvVVxgpgkO6LcupumGtQccM=; b=wAWD6wcCZJroebHPRc+QdVO5cK9DggKp838P/Au+PF51/Pzisopw+6YW6AlSpFu4Fd jVX1YEnNQ0m4hqKAehqZTJgKpyBEIRbXlbQppKM00F5JtqcszpL9D261qJIK3PMoVQPR wu2fZIxb/vs0dW0ZSYaQ57y81yTe/wpPsEkN2k5hrLQS3VKha6Ky9q/d0nbIok5y16km HmLpk3z/a+U3QWkx38pUXekIR4S/HbYnF4RFiIbfoNyCE6TsG64DUzNUNIi64hHhevZN rtJlz7HQ1LBJQZPV0Omk//RWkgoaR9HZJVethSGXPPpos3C8wu2IkGwa1AjiVsSikeYI zVlA== MIME-Version: 1.0 X-Received: by 10.42.159.132 with SMTP id l4mr76646909icx.59.1426512594984; Mon, 16 Mar 2015 06:29:54 -0700 (PDT) In-Reply-To: <5506d529$0$13003$c3e8da3$5496439d@news.astraweb.com> References: <20150316025301.GA94576@cskk.homeip.net> <873855tts4.fsf@jester.gateway.sonic.net> <87k2yhfou7.fsf@jester.gateway.sonic.net> <55068da5$0$12923$c3e8da3$5496439d@news.astraweb.com> <871tkpgx7e.fsf@jester.gateway.sonic.net> <5506d529$0$13003$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 17 Mar 2015 00:29:54 +1100 Subject: Re: Python 2 to 3 conversion - embrace the pain From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426512597 news.xs4all.nl 2973 [2001:888:2000:d::a6]:54369 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87556 On Tue, Mar 17, 2015 at 12:05 AM, Steven D'Aprano wrote: > Of course, "problem" seems to be relative. PHP culture seems to accept that > code will break when you do a minor upgrade, and it's no big deal to do a > search-and-replace and rename your functions. The same thing would be > considered unacceptable in Python and unthinkable in C. Because, after all, it's no problem to keep a dozen PHP versions around, and to select which one you want via a shebang at the top of the file... oh wait. So how do you cope with breakage? Massive code churn? What about those big PHP applications/engines/frameworks like MediaWiki, WordPress, etc - do they maintain multiple versions that are compatible with different PHP versions?? No, don't answer any of those questions. We don't need to discuss this in detail. *sigh* ChrisA