Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.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.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'exercise': 0.04; 'root': 0.05; 'subject:Python': 0.06; '2to3': 0.09; 'fix.': 0.09; 'runs': 0.10; 'bug': 0.12; 'translation': 0.12; 'chunks': 0.16; 'cleanly': 0.16; 'egg': 0.16; 'ha!': 0.16; 'shot.': 0.16; 'subtle.': 0.16; 'suite.': 0.16; 'ui,': 0.16; 'wrote:': 0.18; 'basically': 0.19; 'tests': 0.22; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'leave': 0.29; 'said,': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'releasing': 0.31; 'run': 0.32; 'not.': 0.33; 'could': 0.34; 'johnson': 0.35; 'no,': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'coverage': 0.36; 'should': 0.36; 'level': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'though,': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'how': 0.40; 'free': 0.61; 'matter': 0.61; 'skip:* 10': 0.61; "you're": 0.61; 'act': 0.63; 'july': 0.63; 'our': 0.64; 'for:': 0.64; 'believe': 0.68; 'overall': 0.69; 'jul': 0.74; 'blow': 0.84; 'face,': 0.84; 'hit.': 0.84; 'loose': 0.84; 'rick': 0.93; 'comfort': 0.96 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=ltw0Igx3zE0MyNb7OpNz0aTXFXRVrolQRrdnmznJyZw=; b=BR2C9enRc+OzxJQcoYWwqDhUjV6wMNsQuLfaLJhr+CozwPRQx3Kz2JrNhbUzsfuk9o jU7ZjvoRW/Aqr6eYCV7GjRwbUKG9ILUygxtFn1rD0bzeTjXz45U0tmzwvABXZzGPv6dX Rgt3iH8m8qVpOtXpQJA1Swp4wev4Yq/fCpl0nicX9eJMbB+tOotYj7YL/6z8Ee5c5O9X JcEpyMxxfhcOU7LwFtOS8ixIPXmZ+IU7YSIV/xvz+uKFg/ot7/dSLb5vUDapbhyFKOTg hnbkC2j9fxZoi/u89eaqXcQtDzI9HzOBuO6GDH+pXxksPYYFMTzexVCF1BY97hWEnI7H Gruw== X-Received: by 10.70.98.167 with SMTP id ej7mr24418480pdb.70.1405450451636; Tue, 15 Jul 2014 11:54:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <753ef4fc-4abd-4128-bc26-63dc309c0b44@googlegroups.com> References: <57ajo9poljjre4c4ig0n0ss8kph8k78lp0@4ax.com> <5389cb53$0$29978$c3e8da3$5496439d@news.astraweb.com> <99b7b2a2-7521-42d7-a5a0-1a35d4d5b922@googlegroups.com> <53C4A454.9010600@gmail.com> <753ef4fc-4abd-4128-bc26-63dc309c0b44@googlegroups.com> From: Ian Kelly Date: Tue, 15 Jul 2014 12:53:31 -0600 Subject: Re: Python 3 is killing Python To: Python Content-Type: text/plain; charset=UTF-8 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405450455 news.xs4all.nl 2847 [2001:888:2000:d::a6]:37135 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74500 On Tue, Jul 15, 2014 at 12:01 PM, Rick Johnson wrote: > On Tuesday, July 15, 2014 9:31:31 AM UTC-5, Chris Angelico wrote: >> [...] That said, though, I would advise you to give 2to3 a >> shot. You never know, it might do exactly what you need >> right out-of-the-box and give you a 3.x-compatible >> codebase in one hit. > > Ha! > > Are you so foolish as to believe that if code runs cleanly > *immediately* after translating via "2to3", that the code is > now completely free from translation bugs? > > You act as if 2to3 is some "magical" code that can root out > every bug no matter how subtle. No, for those of us who care > about our reputation, we are not about to release code that > could blow chunks and leave egg all over our face, or worse, > cause us to loose a contract! This is what tests are for: so you know whether your code is working or not. 1) Run 2to3. 2) Run your test suite. 3) If there's a UI, exercise it manually. At that point you should know how many things you need to fix. If that number is 0, then you're basically ready to release (depending on your test coverage and your release cycle and your overall level of comfort with releasing the result).