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

Gregor Horvath g.horvath at gmx.at
Thu Sep 29 04:47:07 EDT 2005


Paul Rubin schrieb:
> 
> If you don't want the compiler to make sure your private instance
> variables stay private, then don't declare them that way.  You're the
> one asking for less flexibility.  

I want to declare them as privat, but want to give the flexibilty to 
access them at the users own risk.

Declaring everything as public is nonsene, because there should be a 
garanteed stable interface.

--
Greg



More information about the Python-list mailing list