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


Groups > comp.lang.python > #37108

Re: To make a method or attribute private

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!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.047
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'url:pipermail': 0.05; 'subject:method': 0.09; 'underscore': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'url:python': 0.32; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'url:org': 0.36; "didn't": 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'your': 0.60; 'leading': 0.61; '20,': 0.65; '2013': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=6Qkftllgf3Q8XPEf/MkXcj6Jh+AAzKOZhCXZSX0N8+Y=; b=l0MXpSh/AsmiuRoGJrkdbM0if5wPW8UIeMYvhoXKpfmByvg67UBaV7YKsIdEES1Ju8 04vKB8PRfhG9BL5L4GEzfjOOQh1i8yTh2FU3PH1kGnwtVIAUu+NYg+tJxoCZX2zugsi0 i54wgNt3IBH355A8Tm5+TVFLQisZ4WBQ4YAcT46h46+rogEBPNft3qQXK234KtPe+NWT vnGqVTeg0UbEz4GtSMJHG5fefG+0LBD+smUEpsiuy8arxhpG1mwYNnlHZJ+0FM9/JgCR Yykb7MYO7EAk0m5UYIhEmcBcD8mdku5DRqaXdnTg6urJdgH+CVEqUfy2pWINsSqvvmxh XqbA==
MIME-Version 1.0
X-Received by 10.52.178.225 with SMTP id db1mr13946412vdc.10.1358673798456; Sun, 20 Jan 2013 01:23:18 -0800 (PST)
In-Reply-To <8adf7e6a-e16a-4d81-8e0d-6339bb4f117c@googlegroups.com>
References <8adf7e6a-e16a-4d81-8e0d-6339bb4f117c@googlegroups.com>
Date Sun, 20 Jan 2013 20:23:18 +1100
Subject Re: To make a method or attribute private
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
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.703.1358673801.2939.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358673801 news.xs4all.nl 6913 [2001:888:2000:d::a6]:46235
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37108

Show key headers only | View raw


On Sun, Jan 20, 2013 at 8:17 PM, iMath <redstone-cold@163.com> wrote:
> so what is your opinion about single leading underscore and private methods or attributes?

Didn't this get discussed recently?

http://mail.python.org/pipermail/python-list/2013-January/638687.html

ChrisA

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


Thread

To make a method or attribute private iMath <redstone-cold@163.com> - 2013-01-20 01:17 -0800
  Re: To make a method or attribute private Chris Angelico <rosuav@gmail.com> - 2013-01-20 20:23 +1100
    Re: To make a method or attribute private alex23 <wuwei23@gmail.com> - 2013-01-20 15:14 -0800
      Re: To make a method or attribute private Dave Angel <d@davea.name> - 2013-01-20 18:32 -0500
        Re: To make a method or attribute private alex23 <wuwei23@gmail.com> - 2013-01-20 18:24 -0800
          Re: To make a method or attribute private Mitya Sirenef <msirenef@lightbird.net> - 2013-01-20 21:45 -0500

csiph-web