Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-19 Thread Nick Coghlan
Shane Hathaway wrote: ranjith kannikara wrote: As a student I am not familiar with Restricted Python and python AST implementation.And in need of help to start the Restricted Python implementation. Here is some context for Python-Dev. RestrictedPython is a custom Python compiler that, when co

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-18 Thread Brett Cannon
On Thu, Jul 17, 2008 at 11:42 AM, Shane Hathaway <[EMAIL PROTECTED]> wrote: > ranjith kannikara wrote: >> >> As a student I am not familiar with Restricted Python and python AST >> implementation.And in need of help to start the Restricted Python >> implementation. > > Here is some context for Pyth

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-18 Thread Shane Hathaway
ranjith kannikara wrote: As a student I am not familiar with Restricted Python and python AST implementation.And in need of help to start the Restricted Python implementation. Here is some context for Python-Dev. RestrictedPython is a custom Python compiler that, when combined with a restrict

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Martin v. Löwis
> I would like to know how much the AST have been changed on moving from > python2.4 to python 2.5 so that I can bring the corresponding changes > in Zope2 to get it adapted to those changes in the AST. Notice that Parser/Python.asdl is new in Python 2.5, so (by today's terminology) Python 2.4 di

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread ranjith kannikara
Hi , I am really sorry that I couldn,t make clear in the first mail that What I actually need. But Shane and my Gsoc mentor Sidnei have already made it clear I think. I would like to know how much the AST have been changed on moving from python2.4 to python 2.5 so that I can bring the correspondi

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Terry Reedy
Benjamin Peterson wrote: On Thu, Jul 17, 2008 at 4:10 PM, Sidnei da Silva <[EMAIL PROTECTED]> wrote: """ The safety of RestrictedPython has been validated in a somewhat formal process with Python 2.4. Ranjith is working to validate it with Python 2.5. He is first working to discover all cha

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Benjamin Peterson
On Thu, Jul 17, 2008 at 4:10 PM, Sidnei da Silva <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 6:04 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> Thanks. Then python-dev is *definitely* the wrong forum. :-) > > Definitely wrong forum for RestrictedPython-specifc questions, but not > if

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Sidnei da Silva
On Thu, Jul 17, 2008 at 6:04 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Thanks. Then python-dev is *definitely* the wrong forum. :-) Definitely wrong forum for RestrictedPython-specifc questions, but not if you consider those two paragraphs from Shane's email, which clarify that Ranjith is

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Guido van Rossum
Thanks. Then python-dev is *definitely* the wrong forum. :-) On Thu, Jul 17, 2008 at 1:26 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 11:27 AM 7/17/2008 -0700, Brett Cannon wrote: >> >> On Thu, Jul 17, 2008 at 10:54 AM, ranjith kannikara >> <[EMAIL PROTECTED]> wrote: >> > I have taken the g

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Phillip J. Eby
At 11:27 AM 7/17/2008 -0700, Brett Cannon wrote: On Thu, Jul 17, 2008 at 10:54 AM, ranjith kannikara <[EMAIL PROTECTED]> wrote: > I have taken the gsoc 08 project of porting zope2 to python2.5. > Through my way to the successful completion of the project I have to > implement Restricted python i

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Guido van Rossum
On Thu, Jul 17, 2008 at 11:27 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 10:54 AM, ranjith kannikara > <[EMAIL PROTECTED]> wrote: >> I have taken the gsoc 08 project of porting zope2 to python2.5. >> Through my way to the successful completion of the project I have to >>

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Brett Cannon
On Thu, Jul 17, 2008 at 10:54 AM, ranjith kannikara <[EMAIL PROTECTED]> wrote: > I have taken the gsoc 08 project of porting zope2 to python2.5. > Through my way to the successful completion of the project I have to > implement Restricted python in Zope2. I could only get the information > that th

[Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread ranjith kannikara
I have taken the gsoc 08 project of porting zope2 to python2.5. Through my way to the successful completion of the project I have to implement Restricted python in Zope2. I could only get the information that the python AST has not changed on moving from python2.4 to 2.5 but Restricted Python is n