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


Groups > comp.lang.python > #28944

Re: Single leading dash in member variable names?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python': 0.09; 'cc:addr :python-list': 0.10; '*stop*': 0.16; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'message- id:@tim.thechases.com': 0.16; 'parts.': 0.16; 'received:70.251': 0.16; 'received:dsl.rcsntx.swbell.net': 0.16; 'received:rcsntx.swbell.net': 0.16; 'received:swbell.net': 0.16; 'subject:Single': 0.16; 'subject:member': 0.16; 'subject:variable': 0.16; 'wrote:': 0.17; 'tend': 0.17; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; "doesn't": 0.28; 'enforce': 0.29; 'class': 0.29; 'maybe': 0.29; 'languages': 0.33; 'another': 0.33; 'that,': 0.34; 'subject:?': 0.35; 'similar': 0.35; 'but': 0.36; 'subject:: ': 0.38; "you've": 0.61; 'more': 0.63; 'cc:addr:max': 0.84; 'received:50.22': 0.84; 'subject:leading': 0.84; 'agreement.': 0.91
Date Wed, 12 Sep 2012 05:49:46 -0500
From Tim Chase <python.list@tim.thechases.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16
MIME-Version 1.0
To Dwight Hutto <dwightdhutto@gmail.com>
Subject Re: Single leading dash in member variable names?
References <2cb240e2-7992-44eb-84cf-1aba5a411ee4@googlegroups.com> <mailman.514.1347390405.27098.python-list@python.org> <mailman.516.1347396810.27098.python-list@python.org> <sY-dnYkrKKdqKdLNnZ2dnUVZ5sWdnZ2d@giganews.com> <CA+vVgJXiFK2br2V05kzc0ZEwk+d7oUY3RuC+NrX=9JqjkbkPNA@mail.gmail.com>
In-Reply-To <CA+vVgJXiFK2br2V05kzc0ZEwk+d7oUY3RuC+NrX=9JqjkbkPNA@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Source
X-Source-Args
X-Source-Dir
Cc Erik Max Francis <max@alcyone.com>, python-list@python.org
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 <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.548.1347446922.27098.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347446922 news.xs4all.nl 6904 [2001:888:2000:d::a6]:55257
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28944

Show key headers only | View raw


On 09/12/12 00:10, Dwight Hutto wrote:
> Not to jump in with another question(this seems somewhat relevant
> to the conversation, maybe not), but is this similar to a
> private,public, or protected class similar to the C type langs?

Close, but C-like languages tend to strictly enforce it, while in
Python it's more of a gentleman's agreement.  Python doesn't *stop*
you from mucking with them, but you've been advised that, if it
breaks, you get to keep both parts.

-tkc

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


Thread

Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 11:45 -0700
  Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-11 13:06 -0600
    Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 13:53 -0700
      Re: Single leading dash in member variable names? Terry Reedy <tjreedy@udel.edu> - 2012-09-11 17:34 -0400
    Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 13:53 -0700
      Re: Single leading dash in member variable names? Erik Max Francis <max@alcyone.com> - 2012-09-11 15:02 -0700
        Re: Single leading dash in member variable names? Tim Chase <python.list@tim.thechases.com> - 2012-09-12 05:49 -0500
        Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-12 08:23 -0700
          Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-12 10:52 -0600
          Re: Single leading dash in member variable names? mdengler@gmail.com - 2012-09-12 09:53 -0700
        Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-12 09:23 -0600
    Re: Single leading dash in member variable names? aahz@pythoncraft.com (Aahz) - 2012-11-10 07:41 -0800

csiph-web