Re: [Sugar-devel] programming on thin ice

2009-01-31 Thread forster
What I am concerned about is making the system vulnerable by letting arbitrary functions to execute within TA. I can imagine that Rainbow would be of some protection here, but are there other things I can do to restrict, say to the math module, the functions available. Would TA make the

Re: [Sugar-devel] programming on thin ice

2009-01-31 Thread Luke Faraone
On Thu, Jan 29, 2009 at 10:01 PM, fors...@ozonline.com.au wrote: What I am concerned about is making the system vulnerable by letting arbitrary functions to execute within TA. I can imagine that Rainbow would be of some protection here, but are there other things I can do to restrict, say

Re: [Sugar-devel] programming on thin ice

2009-01-30 Thread Morgan Collett
On Fri, Jan 30, 2009 at 04:59, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: (1) A simple idea I am exploring are to allow Turtle Art users to enter simple Python commands directly into a block, as per

Re: [Sugar-devel] programming on thin ice

2009-01-30 Thread Bert Freudenberg
On 30.01.2009, at 09:38, Morgan Collett wrote: On Fri, Jan 30, 2009 at 04:59, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: (1) A simple idea I am exploring are to allow Turtle Art users to enter simple Python

Re: [Sugar-devel] programming on thin ice

2009-01-30 Thread Ivan Krstić
On Jan 30, 2009, at 4:09 AM, Bert Freudenberg wrote: maybe (as Walter suggested) there was a limit on the imports you could do? Not possible, and won't be until Brett Cannon's pure-Python import facility replaces the existing C-based import system. That work just landed into 3.0 trunk a

Re: [Sugar-devel] programming on thin ice

2009-01-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: (1) A simple idea I am exploring are to allow Turtle Art users to enter simple Python commands directly into a block, as per http://sugarlabs.org/go/Image:Ta-sin.png Beautiful. But here is my question: My code for #1