Re: [Python-Dev] Re: Security capabilities in Python

2005-04-09 Thread Ka-Ping Yee
On Sat, 9 Apr 2005, Fredrik Lundh wrote: > Ka-Ping wrote: > > counter = Counter() > > readonly_facet = facet(counter, ['value']) > > > > If i've done this correctly, it should be impossible to alter the > > contents of the list or the counter, given only the immutable_facet > > or the reado

[Python-Dev] Re: Security capabilities in Python

2005-04-09 Thread Fredrik Lundh
Ka-Ping wrote: > counter = Counter() > readonly_facet = facet(counter, ['value']) > > If i've done this correctly, it should be impossible to alter the > contents of the list or the counter, given only the immutable_facet > or the readonly_facet, after restrict() has been called. I'm prob

[Python-Dev] Re: Security capabilities in Python

2005-04-08 Thread Terry Reedy
"Eyal Lotem" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I would like to experiment with security based on Python references as > security capabilities. I am pretty sure that there was a prolonged discussion on Python, security, and capability on this list a year or two ago. P