On Apr 2, 10:52 am, sam <[EMAIL PROTECTED]> wrote: > Then I say: > > -- __id is awful, because it is a trick to prefix names > > and gurus say: > > -- it is good solution for name conflicts > > But somebody may prefix his names with class names and cause nameconflict, so > maybe it is not so good? I would prefer to hear something like "other > solutions > were very complex, and our zen says 'Simple is better than complex.', so we > decided to use this simple and not perfect solution"
The stated purpose of the name mangling attributes is to minimize accidental conflicts, not to enforce data hiding. Carl Banks -- http://mail.python.org/mailman/listinfo/python-list