Re: OT(Slightly): Thanks to Python.
From: Aahz (aahz_at_pythoncraft.com)
Date: 03/10/04
- Next message: Dirk Zimmermann: "Iterating over tuple entries in a list"
- Previous message: allena29_at_elsol.zwan: "Re: Source compile newbie: trying to build Ming (Flash) libs"
- In reply to: David M. Wilson: "Re: OT(Slightly): Thanks to Python."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Mar 2004 17:48:51 -0500
In article <99dce321.0403101234.49d7f9f5@posting.google.com>,
David M. Wilson <dw-google.com@botanicus.net> wrote:
>"David M. Cook" <davecook@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@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
- Next message: Dirk Zimmermann: "Iterating over tuple entries in a list"
- Previous message: allena29_at_elsol.zwan: "Re: Source compile newbie: trying to build Ming (Flash) libs"
- In reply to: David M. Wilson: "Re: OT(Slightly): Thanks to Python."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|