Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66765
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'importing': 0.05; 'subject:Python': 0.06; '21,': 0.07; 'think,': 0.07; 'versions,': 0.07; 'string': 0.09; 'instance.': 0.09; 'raises': 0.09; 'uses.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '1.5,': 0.16; 'exceptions,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'module?': 0.16; 'subject:library': 0.16; 'supported.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'written': 0.21; 'feb': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; '2.2': 0.24; 'string,': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'third': 0.33; 'subject:the': 0.34; "can't": 0.35; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'url:downloads': 0.36; 'url:org': 0.36; 'should': 0.36; 'operating': 0.37; 'two': 0.37; 'hat': 0.38; 'version,': 0.38; 'changed': 0.39; 'either': 0.39; 'major': 0.40; 'how': 0.40; 'even': 0.60; 'catch': 0.60; 'new': 0.61; 'pick': 0.64; 'more': 0.64; 'different': 0.65; 'limit': 0.70; '2.3.': 0.84; 'dialects.': 0.84; 'taken.': 0.84; 'to:none': 0.92; 'old.': 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=jqgjdboCe1vcynnD4/35fwB5GXoM72a++ms90hMQamU=; b=IaI6RM0Ki+YS+oNIrF9/MnVq2uMM+2F35VVsv4RpNlKnUvHU/OjY5Tnbb/kCkniIo+ TMkmduR9bKT9z0bn3lGLE7kdpaO4uSuLEaJ2QC7ymvyrruH6Mq7+j1kOdbYtWpbfRN6q PwE33dByNPBny6m/hfUVDOQ7FI+K3sASYF83JpL49PGah70eJPTVqjx17FxppEoNTBvu ugupLzoNpa12mTurpeXBrnfW0zCNqebfJHA3QAw3hfLs5E5QLut96SpMcK/KgKzXvHLS dLL8KC4iIunhnrbrZ60ePcRouwTsSrpP9qbsraoa0fegmyO7Z9PKxLYsoMIOjJhIIDjU 7BLA== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.118.71 with SMTP id kk7mr2965107pab.14.1392911282181; Thu, 20 Feb 2014 07:48:02 -0800 (PST) |
| In-Reply-To | <87txbt6ckn.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> <mailman.7185.1392903276.18130.python-list@python.org> <87txbt6ckn.fsf@elektro.pacujo.net> |
| Date | Fri, 21 Feb 2014 02:48:01 +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.7192.1392911291.18130.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392911291 news.xs4all.nl 2946 [2001:888:2000:d::a6]:42776 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:66765 |
Show key headers only | View raw
On Fri, Feb 21, 2014 at 2:14 AM, Marko Rauhamaa <marko@pacujo.net> wrote: > * you won't be finding old Python versions on newer operating system > distributions, > > * even <URL: http://www.python.org/downloads/> isn't all that extensive > and > > * the program may import modules that were written in different Python > dialects. You can always build your own Python, if it really matters... but more likely, if you care about old versions, you actually care about *one specific old version* which your program uses. That's why Red Hat still supports Python 2.4 and, I think, 2.3. You can't randomly pick up 2.2 or 1.5, but if you want 2.4, you can keep on using that for as long as this RHEL is supported. As to importing modules written for other versions... that can be a major problem. Often the new keywords come with new functionality. Take string exceptions, for instance. Say you import a module that was written for a version that still supported them - if it raises a string, you can't catch it. There is a limit to how far the compatibility can be taken. Also, what happens if two modules (one of which might be your script) written for different versions both import some third module? Should they get different versions, based on what version tags they use themselves? Compatibility can't be changed that easily. You either run on the new version, or run on the old. Not both. 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