Why does python not have a mechanism for data hiding?

cokofreedom at gmail.com cokofreedom at gmail.com
Wed Jun 4 08:30:06 EDT 2008


>
> But the leading underscore doesn't tell you whether it is your own
> private date, which you can use a you see fit, or those of someone
> else, which you have to be very carefull with.
>
> --
> Antoon Pardon

Well how is that different from public accessor and mutators of
private variables?



More information about the Python-list mailing list