Message from discussion
Will python never intend to support private, protected and public?
Path: g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path: <python-python-l...@m.gmane.org>
X-Original-To: python-l...@python.org
Delivered-To: python-l...@bag.python.org
X-Spam-Status: OK 0.001
X-Injected-Via-Gmane: http://gmane.org/
To: python-l...@python.org
From: Steve Holden <st...@holdenweb.com>
Subject: Re: Will python never intend to support private, protected and public?
Date: Wed, 28 Sep 2005 11:56:06 +0100
References: <311b5ce105092800102da32267@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Gmane-NNTP-Posting-Host: host86-133-146-235.range86-133.btcentralplus.com
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
In-Reply-To: <311b5ce105092800102da32267@mail.gmail.com>
Sender: news <n...@sea.gmane.org>
X-BeenThere: python-l...@python.org
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <http://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-requ...@python.org?subject=unsubscribe>
List-Archive: <http://mail.python.org/pipermail/python-list>
List-Post: <mailto:python-l...@python.org>
List-Help: <mailto:python-list-requ...@python.org?subject=help>
List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-requ...@python.org?subject=subscribe>
Newsgroups: comp.lang.python
Message-ID: <mailman.1066.1127905126.509.python-list@python.org>
Lines: 21
NNTP-Posting-Host: 194.109.207.14
X-Trace: 1127905127 news.xs4all.nl 11063 [::ffff:194.109.207.14]:33388
X-Complaints-To: abuse@xs4all.nl
could ildg wrote:
> Python is wonderful except that it has no real private and protected
> properties and methods.
> Every py object has dict so that you can easily find what fields and
> methods an obj has,
> this is very convenient, but because of this, py is very hard to support
> real private and
> protected?
> If private and protected is supported, python will be perfect.
>
You only say that because you assume private and protected give you a
security that they actually don't. They certainly make it more difficult
to *spot* the security errors.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.pycon.org