Will python never intend to support private, protected and public?

Steve Holden steve at holdenweb.com
Wed Sep 28 06:56:06 EDT 2005


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




More information about the Python-list mailing list