[Python-bugs-list] [ python-Bugs-569257 ] __slots__ attribute and private variable
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 14 Jun 2002 17:54:41 -0700
Bugs item #569257, was opened at 2002-06-14 20:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=569257&group_id=5470
Category: Type/class unification
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Keyton Weissinger (keytonw)
Assigned to: Nobody/Anonymous (nobody)
Summary: __slots__ attribute and private variable
Initial Comment:
If you use a __slots__ class variable and include a
variable with a double underscore as the first two
characters, that variable is NOT private as would be the
case for any other variable whose name begins with a
double underscore.
If this is by design, then it should be in the docs. If it is
not and represents a bug, it needs to be investigated.
Thank you!!!
Keyton Weissinger
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=569257&group_id=5470