| Store | Cart

OT(Slightly): Thanks to Python.

From: Aahz <a...@pythoncraft.com>
10 Mar 2004 17:48:51 -0500
In article <99dce321.0403101234.49d7f9f5 at posting.google.com>,
David M. Wilson <dw-google.com at botanicus.net> wrote:
>"David M. Cook" <davecook at nowhere.net> wrote...>>>> Python lacks access controls (private/protected etc), though you can>> use __ name munging.>>In an entirely speculative tone, is this correct? I thought new-style>objects supported protected attributes and such via properties. This>might be completely incorrect, my head has been like a sieve for the>last few months. :(

Thing is, in order to store data with a property, there needs to
eventually be a real Python object -- anyone with access to the source
can figure out how to get to it.  Heck, they can just modify the source.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Do not taunt happy fun for loops. Do not change lists you are looping over."
--Remco Gerlich, comp.lang.python

Recent Messages in this Thread
Aahz Mar 10, 2004 10:48 pm
Bob Ippolito Mar 04, 2004 11:51 pm
David M. Cook Mar 05, 2004 06:32 am
David M. Wilson Mar 10, 2004 08:34 pm
Michael Hudson Mar 04, 2004 07:40 pm
Christopher Koppler Mar 05, 2004 09:03 am
Jacek Generowicz Mar 05, 2004 09:43 am
JanC Mar 05, 2004 05:16 pm
Jacek Generowicz Mar 08, 2004 09:24 am
JanC Mar 09, 2004 09:25 pm
Michael Hudson Mar 10, 2004 11:47 am
Jacek Generowicz Mar 10, 2004 03:03 pm
JanC Mar 13, 2004 05:24 am
Josiah Carlson Mar 13, 2004 07:17 am
Ville Vainio Mar 13, 2004 09:08 am
Ville Vainio Mar 13, 2004 09:17 am
Messages in this thread