Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106207

Ammended proposal: Python 832? Re: The next major Python version will be Python 8

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Stefan Hagen <stefan@dilettant.eu>
Newsgroups comp.lang.python
Subject Ammended proposal: Python 832? Re: The next major Python version will be Python 8
Date Fri, 1 Apr 2016 07:34:54 +0200
Lines 78
Message-ID <mailman.302.1459496184.28225.python-list@python.org> (permalink)
References <CAMpsgwbAFXDF3Rz4dPktTzuycMAfdzzvknnmRuG=V8bBXvh0_w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de w6LCaiqF0/SyLDND8yoCFw0X94EJetj2jljw3tlMw99g==
Return-Path <stefan@dilettant.eu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'yet.': 0.03; 'subject:Python': 0.05; '(python': 0.05; 'importerror:': 0.05; 'think,': 0.05; 'continuation': 0.07; 'incompatible': 0.07; 'rename': 0.07; 'suffix': 0.07; 'fails.': 0.09; 'filename.': 0.09; 'psf,': 0.09; 'python:': 0.09; 'simplified': 0.09; 'subject:version': 0.09; 'example:': 0.10; 'python': 0.10; 'psf': 0.12; 'read.': 0.13; 'alpha': 0.15; 'subject: \n ': 0.15; "(it's": 0.16; '*no*': 0.16; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'write,': 0.16; 'module,': 0.18; 'stefan': 0.18; 'library': 0.20; 'changes': 0.20; 'windows': 0.20; 'cc:2**0': 0.20; 'beauty': 0.22; 'killer': 0.22; 'minor': 0.22; 'trying': 0.22; 'code.': 0.23; 'split': 0.23; 'import': 0.24; 'thus': 0.24; 'header:In-Reply-To:1': 0.24; 'feature': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'sponsor': 0.27; 'least': 0.27; 'indentation': 0.29; 'pep': 0.29; 'perl': 0.29; 'secondly': 0.29; 'subject:next': 0.29; 'code': 0.30; 'becomes': 0.30; 'branch': 0.30; 'option': 0.31; 'announce': 0.32; 'point': 0.33; 'url:python': 0.33; 'legacy': 0.33; 'add': 0.34; 'i.e.': 0.35; 'integrate': 0.35; 'propose': 0.35; 'replace': 0.35; 'comment': 0.35; 'community': 0.36; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'possible': 0.36; 'modules': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'missing': 0.37; 'release': 0.37; 'version': 0.38; 'hi,': 0.38; 'why': 0.39; 'sure': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'your': 0.60; 'close': 0.61; 'subject:The': 0.61; 'skip:u 10': 0.61; 'default': 0.61; 'side': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'effective': 0.63; 'respect': 0.65; 'request.': 0.66; 'beat': 0.66; 'decided': 0.66; 'note:': 0.66; 'reply': 0.68; 'dangerous': 0.70; 'study': 0.70; 'hesitate': 0.71; 'secret': 0.72; '50%': 0.79; '8.3.2': 0.84; '832': 0.84; 'embrace': 0.84; 'received:(halon mail gateway)': 0.84; 'single,': 0.84; 'url:cpython': 0.84; 'url:rev': 0.84; 'victor': 0.84; 'dirty': 0.93; 'suffer': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=simple/simple; d=dilettant.eu; s=20140924; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=Ms9iHHuR8qHwBq76Ua+Hxy4+pPPSX18AfTI+Jogzj+0=; b=NWolPtcHZs6OAjxHXPQUFzlfebcF9sMexcZMmp3vtmNvYt+s0oMNXu2PpTIq4flRO7RhjCgM2Zcu4 WU811DzJ7YkqS/5v3No2ifpine05tVzsMHl2sShtnVhrCvLRVYZfUKJDo2WI3/00Jwa1gybdNXoT2u TAA+g/JE7NdWpUwU=
X-HalOne-Cookie 4d7329f2618da22cf248f9c0da6ed3aee8916a32
X-HalOne-ID 7645393b-f7cb-11e5-9f8d-b82a72d06996
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <CAMpsgwbAFXDF3Rz4dPktTzuycMAfdzzvknnmRuG=V8bBXvh0_w@mail.gmail.com>
X-Mailman-Approved-At Fri, 01 Apr 2016 03:36:23 -0400
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:106207

Show key headers only | View raw


Sorry for the blunt terseness, but wasn't the plan to target Python 832
i.e. 8.3.2 as a single, frozen thus *eternal* version tag to firstly
integrate all beauty (PEP8), good (3.x), bad (2.x) and secondly
**never** have to embrace those thrilling, dirty changes again, was it?

$ python832 -m stefan
Before you write, think, after you read.

Am 01.04.16 um 00:26 schrieb Victor Stinner:
> Hi,
> 
> Python 3 becomes more and more popular and is close to a dangerous point
> where it can become popular that Python 2. The PSF decided that it's
> time to elaborate a new secret plan to ensure that Python users suffer
> again with a new major release breaking all their legacy code.
> 
> The PSF is happy to announce that the new Python release will be
> Python 8!
> 
> Why the version 8? It's just to be greater than Perl 6 and PHP 7, but
> it's also a mnemonic for PEP 8. By the way, each minor release will now
> multiply the version by 2. With Python 8 released in 2016 and one
> release every two years, we will beat Firefox 44 in 2022 (Python 64) and
> Windows 2003 in 2032 (Python 2048).
> 
> A major release requires a major change to justify a version bump: the
> new killer feature is that it's no longer possible to import a module
> which does not respect the PEP 8. It ensures that all your code is pure.
> Example:
> 
>     $ python8 -c 'import keyword'
>     Lib/keyword.py:16:1: E122 continuation line missing indentation or outdented
>     Lib/keyword.py:16:1: E265 block comment should start with '# '
>     Lib/keyword.py:50:1: E122 continuation line missing indentation or outdented
>     (...)
>     ImportError: no pep8, no glory
> 
> Good news: since *no* module of the current standard library of Python 3
> respect the PEP 8, the standard library will be simplified to one
> unique module, which is new in Python 8: pep8. The standard library will
> move to the Python Cheeseshop (PyPI), to reply to an old and popular
> request.
> 
> 
> DON'T PANIC! You are still able to import your legacy code into
> Python 8, you just have to rename all your modules to add a "_noqa" suffix
> to the filename. For example, rename utils.py to utils_noqa.py. A side
> effect is that you have to update all imports. For example, replace
> "import django" with "import django_noqa". After a study of the PSF,
> it's a best option to split again the Python community and make sure
> that all users are angry.
> 
> 
> The plan is that in 10 years, at least 50% of the 77,000 packages on the
> Python cheeseshop will be updated to get the "_noqa" tag. After 2020,
> the PSF will start to sponsor trolls to harass users of the legacy
> Python 3 to force them to migrate to Python 8.
> 
> 
> Python 8 is a work-in-progress (it's still an alpha version), the
> standard library was not removed yet. Hopefully, trying to import any
> module of the standard library fails.
> 
> Don't hesitate to propose more ideas to make Python 8 more incompatible
> with Python 3!
> 
> Note: The change is already effective in the default branch of Python:
> https://hg.python.org/cpython/rev/9aedec2dbc01
> 
> Have fun,
> Victor
> 


-- 
Stefan Hagen
read://stefan-hagen.website
talk://0049 151 70 89 64 00

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Ammended proposal: Python 832? Re: The next major Python version will be Python 8 Stefan Hagen <stefan@dilettant.eu> - 2016-04-01 07:34 +0200

csiph-web