Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-19 Thread Maciej Fijalkowski
PyPy offers sandboxing interpreter without compromising language features itself. Here are docs: http://codespeak.net/pypy/dist/pypy/doc/sandbox.html Also, are you aware of directory Lib/test/crashers (in python's svn) which contains some possible ways to segfault cpython? (which can lead to compr

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Guido van Rossum
On Thu, Sep 18, 2008 at 2:15 PM, Mark Seaborn <[EMAIL PROTECTED]> wrote: > Terry Reedy <[EMAIL PROTECTED]> wrote: > >> Mark Seaborn wrote: > >> > Private attributes may only be accessed through "self" variables. >> > "Self" variables are defined as being the first arguments of functions >> > define

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Mark Seaborn
Terry Reedy <[EMAIL PROTECTED]> wrote: > Mark Seaborn wrote: > > Private attributes may only be accessed through "self" variables. > > "Self" variables are defined as being the first arguments of functions > > defined inside class definitions, with a few restrictions intended to > > prevent these

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Christian Heimes
Guido van Rossum wrote: How about Capt'n Python? :-) Harr, harr! Geat name :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyth

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Oleg Broytmann
On Thu, Sep 18, 2008 at 04:33:23PM -0400, Terry Reedy wrote: > Mark Seaborn wrote: > I'm calling it CapPython > > No wonder ;-). I like CapPy better, though there is a shareware screen > capture program by that name. PyCap is taken. CapThon is not. CaPy, and make capybara its mascot. ;)

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Guido van Rossum
How about Capt'n Python? :-) Anyway, this is way cool. Looking forward to kicking the tires! On Thu, Sep 18, 2008 at 1:33 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > Mark Seaborn wrote: >> >> During the past couple of months I have been working on an >> object-capability subset of Python - in ot

Re: [Python-Dev] ANNOUNCE: CapPython, an object-capability subset of Python

2008-09-18 Thread Terry Reedy
Mark Seaborn wrote: During the past couple of months I have been working on an object-capability subset of Python - in other words, a restricted execution scheme for sandboxing Python code. It has been influenced by other object-capability subset languages, such as Joe-E (a subset of Java [1]),