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


Groups > comp.lang.python > #20079

Re: Naming convention for in-house modules (Newbie question)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'question:': 0.07; 'mentions': 0.09; 'subject:modules': 0.09; 'url:peps': 0.09; 'library': 0.13; 'packages.': 0.13; 'received:209.85.214.174': 0.13; "*don't*": 0.16; 'clashes': 0.16; 'modules?': 0.16; 'naming': 0.16; 'quote.': 0.16; 'subject:Newbie': 0.16; 'url:pep-0008': 0.16; 'cc:addr:python-list': 0.16; 'subject:question': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'pep': 0.23; 'url:dev': 0.23; 'thanks.': 0.24; 'cc:2**0': 0.26; 'bit': 0.28; 'message- id:@mail.gmail.com': 0.29; 'avoiding': 0.29; 'cc:addr:python.org': 0.29; 'error': 0.30; 'modules': 0.32; 'there': 0.33; 'question,': 0.34; 'things': 0.35; 'url:python': 0.35; 'received:209.85.214': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'should': 0.38; 'url:org': 0.39; 'recommended': 0.39; 'received:209': 0.39; 'subject: (': 0.40; 'easy': 0.60; 'site': 0.60; 'here': 0.64; '100%': 0.82
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yWtsYcY+6+0XVgqD19rjB6xgVjrp1NxBU8l5jOqM/eY=; b=tmabfW6fCWQdpkdsEtGDnZZsAewxhuUp19WvV7kF3UUbxJwzwSI+z8CVCcyVBSs7wr 4LELtwH5PTnoEZfsy3vzfclaJNLYL2zxHllMA6uzFhuhvNb9ZnES5Zsoi8gv1zc9ynDY FBBJ7OLW4Kq555fdBkw885gaaD+73frsYjcEE=
MIME-Version 1.0
In-Reply-To <jh0jrb$2lb$1@news.univ-fcomte.fr>
References <jguajb$mqe$1@news.albasani.net> <jh0jrb$2lb$1@news.univ-fcomte.fr>
Date Thu, 9 Feb 2012 14:36:52 +0000
Subject Re: Naming convention for in-house modules (Newbie question)
From Arnaud Delobelle <arnodel@gmail.com>
To Laurent Claessens <moky.math@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5589.1328798215.27778.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328798215 news.xs4all.nl 6865 [2001:888:2000:d::a6]:39955
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20079

Show key headers only | View raw


On 9 February 2012 14:00, Laurent Claessens <moky.math@gmail.com> wrote:
>
>> Here is my question: I would like to start an in-house library of small
>> modules to import, for things like error handling/logging. That's easy
>> enough, but is there a recommended way of naming such modules? I am
>> concerned about avoiding name clashes with standard modules and site
>> packages.
>>
>> Thanks.
>>
>
> This is not 100% an answer to the question, but you should read that :
> http://www.python.org/dev/peps/pep-0008/

The OP mentions PEP 8 in the bit of his message that you *don't* quote.

-- 
Arnaud

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


Thread

Naming convention for in-house modules (Newbie question) HoneyMonster <someone@someplace.invalid> - 2012-02-08 17:15 +0000
  Re: Naming convention for in-house modules (Newbie question) Chris Rebert <clp2@rebertia.com> - 2012-02-08 09:49 -0800
  Re: Naming convention for in-house modules (Newbie question) Laurent Claessens <moky.math@gmail.com> - 2012-02-09 15:00 +0100
    Re: Naming convention for in-house modules (Newbie question) Arnaud Delobelle <arnodel@gmail.com> - 2012-02-09 14:36 +0000
      Re: Naming convention for in-house modules (Newbie question) Laurent Claessens <moky.math@gmail.com> - 2012-02-09 18:42 +0100
      Apparent "double imports" (was: Naming convention for in-house modules (Newbie question)) HoneyMonster <someone@someplace.invalid> - 2012-02-09 18:53 +0000
        Re: Apparent "double imports" (was: Naming convention for in-house modules (Newbie question)) Ian Kelly <ian.g.kelly@gmail.com> - 2012-02-09 12:02 -0700
          Re: Apparent "double imports" (was: Naming convention for in-house modules (Newbie question)) HoneyMonster <someone@someplace.invalid> - 2012-02-09 19:40 +0000
            Re: Apparent "double imports" Dave Angel <d@davea.name> - 2012-02-09 15:05 -0500
              Re: Apparent "double imports" HoneyMonster <someone@someplace.invalid> - 2012-02-09 21:57 +0000

csiph-web