A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-March/034148.html below:

[Python-Dev] python-dev Summary for 2003-03-01 through 2003-03-15

[Python-Dev] python-dev Summary for 2003-03-01 through 2003-03-15 [Python-Dev] python-dev Summary for 2003-03-01 through 2003-03-15Ben Laurie ben@algroup.co.uk
Tue, 18 Mar 2003 12:11:09 +0000
Zooko wrote:
>>Capabilities can loosely be thought of like bound methods.  Security with
>>capabilities is done based on possession; if you hold a reference to an
>>object you can use that object.
> 
> 
> No -- capabilities (as envisioned for Python) are references.  Whether a 
> reference to an object, to a bound method, or to a function doesn't matter.
> 
> Note that it isn't that capabilities are "like" references, it is that 
> capabilities *are* references.  Every reference is a capability.  Every 
> capability is a reference.

I should note that this is a new (and good) idea, not one that we've 
previously expressed. And, of course, they are references with 
restrictions, which will be spelt out in the PEP.

Cheers,

Ben.

-- 
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4