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

Rocco Moretti roccomoretti at hotpop.com
Fri Sep 30 12:14:18 EDT 2005


Paul Rubin wrote:

> I don't know of a single program that's actually relying on the
> non-enforcement.  I've asked for examples but have only gotten
> theoretical ones.  As far as I can tell, the feature is useless.

I'd like to turn the question around on you - can you come up with an 
instance where the non-enforcement has tripped someone up? Is there a 
bug you can point to that would have been prevented if Python enforced 
private member semantics?



More information about the Python-list mailing list