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


Groups > comp.lang.python > #66772

Re: Commonly-used names in the Python standard library

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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; '21,': 0.07; 'binary': 0.07; 'versions,': 0.07; '32-bit': 0.09; 'will,': 0.09; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interpreter,': 0.16; "module's": 0.16; 'module?': 0.16; 'subject:library': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'written': 0.21; 'seems': 0.21; 'feb': 0.22; 'code,': 0.22; 'import': 0.22; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'java': 0.24; 'versions': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'switch': 0.26; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'usually': 0.31; 'enjoyed': 0.31; 'libraries': 0.31; 'front': 0.32; 'run': 0.32; 'fri,': 0.33; 'third': 0.33; 'subject:the': 0.34; "can't": 0.35; 'computing': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'should': 0.36; 'two': 0.37; 'version,': 0.38; 'changed': 0.39; 'either': 0.39; 'around.': 0.60; 'wonderful': 0.60; 'new': 0.61; 'face': 0.64; 'more': 0.64; 'different': 0.65; 'life': 0.66; 'cpu.': 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=9R+0XVw0lBHUDj4ewkZMoGXRF2iQkGt7xnDl7EMTOo8=; b=w9CZl+s8t/k73PzUFw5hdZ4BMNk+qxfLRWvyNmLQhzosP3FqP/7soO6NGYfZKQzOUV ZfiAwZ+iyDoFzFyuVmQ9Qg2HrxLdFwstP1vA/9aGPPD6JkkFwqi75GFRZp8ETpPNwAI5 QDy7jtiEFLJ4VpTesV800Vi2YCkUzfw6i81nsjdH1L+Dc5SRRDA19dKA0rwQ0d3aznGx ZjD0I8yknNEulFBrjnOVd7geDQ3LRg5BdnobKyAaWv3OqNbTEhcUUR3EL8FdFOhgr7za CY0NAAIerzBSp9LoSXoDsfte/us8PLwXlCXjG6PGVyLkdzt2chVIy+buIqQ1nC942rmK yFzg==
MIME-Version 1.0
X-Received by 10.66.102.39 with SMTP id fl7mr3073410pab.43.1392914174282; Thu, 20 Feb 2014 08:36:14 -0800 (PST)
In-Reply-To <87mwhl699j.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> <mailman.7192.1392911291.18130.python-list@python.org> <87mwhl699j.fsf@elektro.pacujo.net>
Date Fri, 21 Feb 2014 03:36:14 +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.7195.1392914178.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392914178 news.xs4all.nl 2887 [2001:888:2000:d::a6]:48966
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66772

Show key headers only | View raw


On Fri, Feb 21, 2014 at 3:26 AM, Marko Rauhamaa <marko@pacujo.net> wrote:
> Chris Angelico <rosuav@gmail.com>:
>
>> 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.
>
> Shared C libraries face the exact same issue. Java seems pretty good on
> this front as well. When there is a will, there is a way.

Shared C libraries usually do it by linking against a particular
version. That's why you often need to keep multiple versions around.
Once it's all binary code, there's no more compatibility question - it
all runs on the same CPU. With Python code, the module's written to
run on a particular interpreter, and that can't just switch around -
it's like the weird and wonderful life I enjoyed as 32-bit computing
started coming along, and I wanted to call on code that used the other
word length...

ChrisA

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


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