I don't know if it's worth adding private to python modules but what about 
classes? Private in class is an important feature in OOP that Python lacks 
(Most OOP languages have private like Java, C++, etc.). I don't know why it was 
introduced in the first place but it's kind of a convention to have that 
feature in OOP. Moreover why does private exist in the first place? If there's 
a reason then shouldn't it apply to Python as well. 

And yes you're right the unprivileged code can just do the same thing. But I'm 
not only speaking of security in this context.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/L5LUQDNNV5ZTF4E33L2JSOYIKPJUJJK5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to