On Jun 5, 2:07 pm, "Russ P." <[EMAIL PROTECTED]> wrote: > The "private" keyword goes further and prevents > access even by derived classes. The double leading underscore in > Python does no such thing.
Who develops these derived classes ? A competitor ? A malicious hacker ? A spammer ? Who are you trying to hide your precious classes from that the double leading underscore is not good enough protection ? Even with a 'private' keyword, what stops them from doing s/private/public/g ? Seriously, the "underscores are ugly" argument has some merit but language enforced data hiding is overrated, if not downright silly. -- http://mail.python.org/mailman/listinfo/python-list