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


Groups > comp.lang.python > #37136

Re: To make a method or attribute private

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <msirenef@lightbird.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pipermail': 0.05; '21,': 0.07; 'python:': 0.09; 'subject:method': 0.09; 'thread,': 0.09; 'underscore': 0.09; 'knock': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'thread.': 0.16; 'thread?': 0.16; 'wrote:': 0.17; 'duplicate': 0.17; 'jan': 0.18; '>>>': 0.18; 'earlier': 0.21; 'posted': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'am,': 0.27; 'chris': 0.28; 'post': 0.28; '>>>>': 0.29; 'no,': 0.29; "i'm": 0.29; 'url:python': 0.32; 'message.': 0.33; 'to:addr:python-list': 0.33; 'especially': 0.35; 'pm,': 0.35; 'url:org': 0.36; "didn't": 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'url:mail': 0.40; 'your': 0.60; 'days': 0.60; 'link': 0.60; 'leading': 0.61; 'first': 0.61; '20,': 0.65; 'ago.': 0.66; '2013': 0.84; 'angel': 0.93
Date Sun, 20 Jan 2013 21:45:00 -0500
From Mitya Sirenef <msirenef@lightbird.net>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version 1.0
To python-list@python.org
Subject Re: To make a method or attribute private
References <8adf7e6a-e16a-4d81-8e0d-6339bb4f117c@googlegroups.com> <mailman.703.1358673801.2939.python-list@python.org> <350446de-b601-4ff8-96e4-9f9a5674c48e@sb6g2000pbb.googlegroups.com> <mailman.711.1358724796.2939.python-list@python.org> <5a502e5a-9912-4584-bcad-4c00ca350da5@qi8g2000pbb.googlegroups.com>
In-Reply-To <5a502e5a-9912-4584-bcad-4c00ca350da5@qi8g2000pbb.googlegroups.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
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.716.1358736304.2939.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358736304 news.xs4all.nl 6857 [2001:888:2000:d::a6]:42247
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37136

Show key headers only | View raw


On 01/20/2013 09:24 PM, alex23 wrote:
> On Jan 21, 9:32 am, Dave Angel  <d...@davea.name> wrote:
 >> On 01/20/2013 06:14 PM, alex23 wrote:
 >>
 >>> On Jan 20, 7:23 pm, Chris Angelico <ros...@gmail.com> wrote:
 >>>> On Sun, Jan 20, 2013 at 8:17 PM, iMath <redstone-c...@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
 >>
 >>> Isn't that a link to the same post that started this thread? :)
 >>
 >> No, that's the one that started the earlier thread, by the same name,
 >> three whole days ago. iMath posted an apparently complete duplicate of
 >> his earlier message.
 >
 > The link is to a post of the same date as the original of this thread,
 > and the very first response is mine, same as with this thread. I'm
 > still not seeing the dupe?

I do see the duplicate in my reader..  -m


-- 
Lark's Tongue Guide to Python: http://lightbird.net/larks/

To knock a thing down, especially if it is cocked at an arrogant angle, is
a deep delight of the blood.
George Santayana

Back to comp.lang.python | Previous | Next — Previous 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