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

Fredrik Lundh fredrik at pythonware.com
Fri Sep 30 10:34:23 CEST 2005

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


More information about the Python-list mailing list