Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66754
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.027 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.06; '"as': 0.07; 'explicit': 0.07; 'interpreter.': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interpreter,': 0.16; 'python",': 0.16; 'subject:library': 0.16; 'skip:# 20': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'thu,': 0.19; 'version.': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'specify': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'branches': 0.31; 'there.': 0.32; 'maintaining': 0.32; 'run': 0.32; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'two': 0.37; 'pm,': 0.38; 'itself': 0.39; 'new': 0.61; 'choose': 0.64; 'become': 0.64; 'more': 0.64; 'latest': 0.67; '20,': 0.68; 'fact,': 0.69; 'increase': 0.74; '3.4': 0.84; 'alternative.': 0.84; 'dialect': 0.84; 'dozens': 0.84; 'fortunately,': 0.84; 'wish.': 0.84; 'to:none': 0.92; 'imagine': 0.93 |
| 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=gkasGzcR30gm363M2PvVph8mpQBf82M0VULBfOr37FM=; b=R6F0is8/LNW9IFfLWISo6DREOLOnd2DLxhhP2RNG1OXVOIfqPh+nApBZUurG8JSb2D Zrz4r8yhWqABqZu7dWAf4hmneLejFFvDCL2k0Ei3jA8VAsF+8rDYRMKcYdCRI9LPE59b YSXzs+zi3K1xbbz1i4XGcacKS3jJbhy4kF/eUe6VhoeDWBlxpvLwVo8hnvLIjSEOPLYe 1OEOCcLK4tt4SgHXG2r9Vep/UI5nFPhy6i4NtzPDZ8Nz5ufMdF6tZUsc4A8HIjFaEFns of9lX3sH0ldJnOqT2l2Wje95HLpfCWyCPhvD6ElPN5zs8ITY7VnFy0Gzo7+HbyHWV6Qo 0G4g== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.162.66 with SMTP id xy2mr2164653pbb.46.1392903267957; Thu, 20 Feb 2014 05:34:27 -0800 (PST) |
| In-Reply-To | <8738je6jf8.fsf@elektro.pacujo.net> |
| References | <mailman.7178.1392889158.18130.python-list@python.org> <87mwhm6q3e.fsf@elektro.pacujo.net> <mailman.7181.1392893048.18130.python-list@python.org> <87eh2y6n1d.fsf@elektro.pacujo.net> <mailman.7183.1392896857.18130.python-list@python.org> <87a9dm6l5c.fsf@elektro.pacujo.net> <mailman.7184.1392898769.18130.python-list@python.org> <8738je6jf8.fsf@elektro.pacujo.net> |
| Date | Fri, 21 Feb 2014 00:34:27 +1100 |
| Subject | Re: Commonly-used names in the Python standard library |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <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 <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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7185.1392903276.18130.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392903276 news.xs4all.nl 2938 [2001:888:2000:d::a6]:48561 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:66754 |
Show key headers only | View raw
On Thu, Feb 20, 2014 at 11:46 PM, Marko Rauhamaa <marko@pacujo.net> wrote: >> And at some point, the new keywords must just become standard. > > That's an explicit program of destroying backwards-compatibility: a war > on legacy code. That may be the Python way, but it's not a necessary > strategy. > >> There's no point polluting every Python script forever with these >> directives, and no point maintaining two branches of code in the >> interpreter. > > Two branches? I would imagine there would be dozens of "branches" in the > interpreter if the latest interpreter were to support all past Python > dialects (as it should, IMO). Indeed. If the interpreter were to include every dialect of "old Python", then it would have a lot more than two branches. They would, in fact, increase exponentially with every Python version. Fortunately, there is an alternative. You can specify the version of Python like this: #!/usr/local/bin/python3.4 or any of several other ways. You then choose exactly which versions of Python to have installed, and continue to use them for as long as you wish. There's no reason for the 3.4 interpreter to be able to run code "as if it were" the 3.1 interpreter, when you can just have the 3.1 interpreter itself right there. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-20 20:39 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 12:22 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-20 21:43 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 13:28 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-20 22:37 +1100
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-20 22:47 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 14:09 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-20 23:19 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 14:46 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 00:34 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 17:14 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 02:48 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 18:26 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 03:36 +1100
Re: Commonly-used names in the Python standard library 88888 Dihedral <dihedral88888@gmail.com> - 2014-02-21 12:57 -0800
Re: Commonly-used names in the Python standard library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-21 06:49 +0000
Re: Commonly-used names in the Python standard library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-21 06:43 +0000
Re: Commonly-used names in the Python standard library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-21 06:59 +0000
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 18:10 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 09:21 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 19:21 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 12:26 +0200
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 21:49 +1100
Re: Commonly-used names in the Python standard library Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 14:03 +0200
Re: Commonly-used names in the Python standard library Ethan Furman <ethan@stoneleaf.us> - 2014-02-21 11:16 -0800
Re: Commonly-used names in the Python standard library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-21 09:12 +0000
Re: Commonly-used names in the Python standard library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-21 06:51 +0000
Re: Commonly-used names in the Python standard library Chris Angelico <rosuav@gmail.com> - 2014-02-21 18:02 +1100
csiph-web