Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'syntax': 0.04; 'importing': 0.05; 'subject:Python': 0.06; 'interpreter.': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '11:09': 0.16; '__future__': 0.16; 'blocking': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:library': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thu,': 0.19; 'feb': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'branches': 0.31; 'maintaining': 0.32; 'says': 0.33; 'subject:the': 0.34; 'except': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'pm,': 0.38; 'that,': 0.38; 'how': 0.40; 'new': 0.61; "you're": 0.61; 'become': 0.64; 'more': 0.64; '20,': 0.68; 'introduction': 0.68; '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=mZLBd2i+PUV6GCegn49b9IR1U5HMy48pSg9GsxwTGJQ=; b=IJmtV4MKFpKx4Ei+hT7ecgd2UYhqbgeBaQ4M4M3LmKTMr4Im9H4ZoJx1YhOkNAWjX1 sYFlbX6R4BDmdTbndgpoSTcGQinFnzl8WdH25VgoYsIlKd+MZ1UeLpWgE86v1zz8fHPo CMOoNJ+bYjbAS8CJqBdeJ7RJeW7tucD1UZtQJXJJIWqixLvrTp2Y808PfPYhcVLpRtb7 QpMs0XiMw1A0Iy0z7bxZb4oO81iajI776cS9ak30kgGnZXBf972IXhzWyL73/hbfT4vY ZEwnFD+7QuV3+pee5r2wuCldBRkKZQ+e0w1q9bk8zAf4ko+r4AD5SXH/zV1IpE5NHibc tJ5w== MIME-Version: 1.0 X-Received: by 10.68.162.66 with SMTP id xy2mr1753316pbb.46.1392898765249; Thu, 20 Feb 2014 04:19:25 -0800 (PST) In-Reply-To: <87a9dm6l5c.fsf@elektro.pacujo.net> References: <87mwhm6q3e.fsf@elektro.pacujo.net> <87eh2y6n1d.fsf@elektro.pacujo.net> <87a9dm6l5c.fsf@elektro.pacujo.net> Date: Thu, 20 Feb 2014 23:19:25 +1100 Subject: Re: Commonly-used names in the Python standard library 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392898769 news.xs4all.nl 2913 [2001:888:2000:d::a6]:55861 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66751 On Thu, Feb 20, 2014 at 11:09 PM, Marko Rauhamaa wrote: > How about blocking the introduction of new keywords for ever except if > you specify: > > from __py35__ import syntax > > Eventually, every Python module would likely begin with a statement like > that, and it would document the assumption more clearly than __future__. It's more self-documenting with the __future__ directive, because it says *what* syntax you're importing from the future. And at some point, the new keywords must just become standard. There's no point polluting every Python script forever with these directives, and no point maintaining two branches of code in the interpreter. ChrisA