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

Steve Holden steve at holdenweb.com
Fri Sep 30 09:45:25 CEST 2005


Antoon Pardon wrote:
> Op 2005-09-29, Bill Mill schreef <bill.mill at gmail.com>:
> 
>>But, if your users can't figure out that they shouldn't be changing
>>the variable called t._test__i without expecting side effects, what do
>>you think of the users of your class?
>>
>>Python is for consenting adults.
> 
> 
> No it is not. Consenting means you had the choice. Python doesn't
> give you the choice not to consent. Unless of course you write
> it as a C-extension, then you can hide all you want.
> 

Good grief, the ultimate choice is to use Python because you like it, or 
not to use it because you don't. Enough with the picking every available 
nit, please. Consent or stop complaining :-)

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list