Why does python not have a mechanism for data hiding?

David wizzardx at gmail.com
Mon May 26 06:52:35 EDT 2008


Python is getting some 'unclean' features like function annotations[1]
and abstract base classes[2], so it is possible that it will get more
explicit support for private class attributes at some point, if there
is enough demand for it.

[1]http://www.python.org/dev/peps/pep-3107/
[2]http://www.python.org/dev/peps/pep-3119/

David.



More information about the Python-list mailing list