Re: Will python never intend to support private, protected and public?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

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

From: Rocco Moretti <roccomoretti@hotpop.com>
Date: Fri Sep 30 2005 - 18:14:18 CEST

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?
Received on Sat Oct 15 04:00:32 2005