Łukasz Langa <luk...@langa.pl> added the comment: I'd like to see that section gone altogether. The tutorial is designed to be the first point of contact with the language. In that context name mangling is an obscure detail with an unlikely use case.
If anything, the tutorial should simply state that private variables are by convention prepended with a single underscore. Maybe there's place for a separate short article which would nicely explain the philosophy behind the lack of an enforcing `private` modifier. The "we're all consenting adults here" stuff. Agreed with Ezio that "private" is in itself a poor name for what underscore (regardless whether a single one or two) really means. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com