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

Fredrik Lundh fredrik at pythonware.com
Thu Sep 29 11:03:00 EDT 2005


en.karpachov at ospaz.ru wrote:

> What if the access to that variable was forbidden for reasons you never
> foresaw? What if the class author decide to remove the variable in the next
> version of the class, because it's not an interface, but only a part of the
> class implementation?

you mean when he breaks into your computer and installs the new version
without you noticing?

if you think that once you've put private labels on all accidental stuff, nothing
will break during upgrades, you're clearly very new to this thing called pro-
gramming...

</F> 






More information about the Python-list mailing list