This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author LucianU
Recipients LucianU, docs@python
Date 2010-05-06.20:00:30
SpamBayes Score 0.09366902
Marked as misclassified No
Message-id <1273176032.85.0.0243971489868.issue8638@psf.upfronthosting.co.za>
In-reply-to
Content
I suggest that name mangling should not be recommended as a way of having private attributes. Instead, one underscore should be suggested as a signal that the attribute is private.
This suggestion comes after discussing with some of the helpers from #python. Basically, they said that name mangling should never be used, so it would be appropriate to remove this recommendation from the tutorial.
History
Date User Action Args
2010-05-06 20:00:33LucianUsetrecipients: + LucianU, docs@python
2010-05-06 20:00:32LucianUsetmessageid: <1273176032.85.0.0243971489868.issue8638@psf.upfronthosting.co.za>
2010-05-06 20:00:31LucianUlinkissue8638 messages
2010-05-06 20:00:31LucianUcreate