Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Stop writing Python 4 incompatible code Date: Wed, 13 Jan 2016 19:53:35 -0500 Lines: 36 Message-ID: References: <5695fd0e$0$11119$c3e8da3@news.astraweb.com> <0529e7d6-0de1-4e38-9a19-2b5ed1ecc39f@googlegroups.com> <5696e77e$0$1597$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 5LOqf7Fcb5FS/U3U0q9aBgBWSOQpHQwQsYS4Gf05LvDg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'guido': 0.05; 'deprecated': 0.07; 'subject:code': 0.07; 'advice.': 0.09; 'assumed': 0.09; 'backwards': 0.09; 'broke': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'jan': 0.11; '2.7': 0.13; 'wed,': 0.15; '(but': 0.15; 'instead.': 0.15; 'thu,': 0.15; '(assuming': 0.16; '2016': 0.16; '3.10.': 0.16; 'after,': 0.16; 'dislike': 0.16; 'minor,': 0.16; 'one)': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'subject:writing': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'all,': 0.20; '3.x': 0.22; '4.0': 0.22; 'minor': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'followed': 0.27; 'least': 0.27; '2.6': 0.27; '3.0': 0.27; '13,': 0.29; 'code': 0.30; 'probably': 0.31; 'says': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'received:71': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'being': 0.37; 'expect': 0.37; 'say': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'release': 0.37; "won't": 0.38; 'version': 0.38; 'turned': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'him': 0.60; 'hope': 0.61; 'email addr:gmail.com': 0.62; 'relatively': 0.63; 'affected.': 0.84; 'removals': 0.84; 'ruled': 0.84; 'subject:Stop': 0.84; 'received:fios.verizon.net': 0.91; 'releases.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-71-185-227-36.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <5696e77e$0$1597$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101650 On 1/13/2016 7:10 PM, Steven D'Aprano wrote: > On Thu, 14 Jan 2016 03:25 am, Random832 wrote: > >> On Wed, Jan 13, 2016, at 09:21, sjmsoft@gmail.com wrote: >>> This strikes me as very good advice. Thanks for being so far-sighted. >>> And let's hope that Python 4 has fewer incompatibilities (none would >>> good) than Python 3! >> >> Who says there's going to be a Python 4? I always assumed 3.9 would be >> followed by 3.10. > > > Guido has a *very* strong dislike for two digit minor version numbers. It > took a fair amount of arm-twisting to get him to accept two digit micro > version numbers, like 2.7.10. It is doubtful that we'll see 3.10. > > But he has definitely ruled that 4.0 (assuming there is one) will not be a > major backwards-incompatible version like 3.0 was. > > That's not to say that there won't be any backwards incompatibilities at > all, but they will be relatively minor, like the change from 2.5 to 2.6. (I > bet most people don't even know that 2.6 broke backwards-compatibility.) There are a number of deprecations that will not be turned into removals while 2.7 remains on support but which probably will be removed after, and after they have been giving DeprecationWarnings for at least 2 3.x releases. So code that does not have deprecated features will not be affected. This should be after 3.8. If removals happen in a release that would be '3.9', I expect that it would be '4.0' instead. (But there is no definite plan and will not be until the time comes. -- Terry Jan Reedy