private

Mark McEahern marklists at mceahern.com
Sat Jun 29 11:44:24 EDT 2002


> Is there any possibility to build up a _real_ private attribute?
> Such as C++ private data members...
> I know that with double-underscore prefix (and the name mangling related)
> I can " hide " data members but I think it's not a so crafty trick...
> Is there any PEP about it? Will Guido insert a private keyword
> in a future release of Python ?

What problem are you trying to solve?

Cheers,

// m
-






More information about the Python-list mailing list