Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'say,': 0.05; 'subject:Python': 0.06; 'tackle': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; 'behavior,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hypothetical': 0.16; 'magic': 0.16; 'unchanged,': 0.16; 'upgrades.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'differ': 0.19; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'bytes': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'code': 0.31; 'maybe': 0.34; 'subject:the': 0.34; 'could': 0.34; "can't": 0.35; 'received:google.com': 0.35; 'implement': 0.38; 'sure': 0.39; 'how': 0.40; 'simply': 0.61; "you're": 0.61; 'back': 0.62; "you'll": 0.62; 'kind': 0.63; 'great': 0.65; 'judge': 0.68; '2.7.': 0.84; '2.8': 0.84; 'forced': 0.84; 'installer': 0.84; 'presumably': 0.84; '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=3usftDaitUdug8ViybjG7nZWcFHIUAjaONBS17CvrQ0=; b=hvi3PfOaS5KiU4cYQ4tuRGiIJeJx6AgSYJo7t7NnV5gvuh0sCFIzE9qBqp8tELYGK7 nHXmcc3AsasidPfh2COwR3TRtqk92hAHb6YYfB3r4DLh5KMOEyAg5y/IIAs5oy8/2yix hoHDBjxchfqDG68ehgmvSuXlv0nz2gER56FSDIsgxLGu156GyBOzmkDonZ9F/A+x9TfU jpAbVByMy46enLYS+r53jRq97yBWdx/Ks7voePd1riUNwuMpdz0IdIRLTVIr5DTBincY Rw0F8alUPrmpHESxoWcC4QmbDKFpyD0tBms2Pl9kx90GS7lRHL+RlVfTqZcx5jVXqT2g IFBA== MIME-Version: 1.0 X-Received: by 10.66.118.71 with SMTP id kk7mr6493290pab.14.1389114026259; Tue, 07 Jan 2014 09:00:26 -0800 (PST) In-Reply-To: <4cbf$52cc2e82$541826b9$11761@cache70.multikabel.net> References: <78d91$52cbf8e9$541826b9$29485@cache1.tilbu1.nb.home.nl> <4b702$52cc262e$541826b9$22985@cache80.multikabel.net> <4cbf$52cc2e82$541826b9$11761@cache70.multikabel.net> Date: Wed, 8 Jan 2014 04:00:26 +1100 Subject: Re: the Gravity of Python 2 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.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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389114030 news.xs4all.nl 2856 [2001:888:2000:d::a6]:53333 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63439 On Wed, Jan 8, 2014 at 3:42 AM, Martijn Faassen wrote: > To get back to a hypothetical Python 2.8, it could implement this kind of > behavior, and I think it would help support incremental upgrades. As long as > you're using Py 3 bytes and str in your code, you'll be aware of errors and > be forced to think about it. Other Python code in the system can remain > unchanged, and to the magic of ducktyping will continue to work. You can > then tackle things incrementally. I'm still not sure how Python 2.8 needs to differ from 2.7. Maybe the touted upgrade path is simply a Python 2.7 installer plus a few handy libraries/modules that will now be preinstalled? These modules look great (I can't say, as I don't have a huge Py2 codebase to judge based on), and they presumably work on the existing Pythons. ChrisA