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-April/034321.html below:

[Python-Dev] Capabilities (we already got one)

[Python-Dev] Capabilities (we already got one) [Python-Dev] Capabilities (we already got one)Jeremy Hylton jeremy@zope.com
01 Apr 2003 12:10:16 -0500
On Tue, 2003-04-01 at 11:47, Zooko wrote:
> I think that in restricted-execution-mode (hereafter: "REM", as per Greg Ewing's 
> suggestion [1]), Python objects have encapsulation -- one can't access their 
> private data without their permission.
> 
> Once this is done, Python references are capabilities.

REM does not provide object encapsulation, but it disables enough
introspection that it is possible to provide encapsulation.  The REM
implementation provides a Bastion function that creates private state by
storing the state in func_defaults, which is inaccessible in REM.

Jeremy





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