[issue8638] Remove suggestion for name mangling from the tutorial

2010-05-06 Thread Lucian Ursu
New submission from Lucian Ursu : 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

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Lucian Ursu
Lucian Ursu added the comment: Then it must be an issue with my Python. This is what I get. >>> import sys >>> dir(sys) ['__displayhook__', '__doc__', '__excepthook__', '__name__', '__package__', '__stderr__',

[issue7957] Tutorial issue regarding the sys module

2010-02-18 Thread Lucian Ursu
New submission from Lucian Ursu : Hello, I've discovered an issue while reading the Python tutorial. In chapter 6.2. "Standard Modules", the tutorial mentions the "sys" module and two of its attributes, ps1='<<<' and ps2='...'. The prob