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

Antoon Pardon apardon at forel.vub.ac.be
Fri Sep 30 11:06:27 CEST 2005


Op 2005-09-30, Fredrik Lundh schreef <fredrik at pythonware.com>:
> Steve Holden wrote:
>
>>> 1) Allow keywords like private (or implemetation) to mark certain
>>> variables, functions or classes as an implementation detail.
>>> Personnally I would prefer the opposite such as a interface
>>> to mark objects which are not private, but that would break too
>>> much code.
>
>> Just an off-hand rejection.
>
> fyi, an "access" mechanism was added in 1993, was only partially implemented,
> was almost immediately deprecated, the supporting code were disabled in 1996,
> and all traces were removed from the sources around 1997-89.
>
> those who don't know history etc etc

What history? If it was only partially implemented and almost
immediately deprecated, there can't have been much experience
with it. 

-- 
Antoon Pardon



More information about the Python-list mailing list