Re: ANNOUNCE; Try python beta

2005-12-21 Thread Mike Meyer
Eric <[EMAIL PROTECTED]> writes: > I'm not sure about everyone else, but I find the big warnings about > CSS and JavaScript almost as annoying as the fact that it doesn't do > anything. At all, even with JavaScript enabled. Then again, my main > browser is elinks, so my opinion is somewhat biased

Re: ANNOUNCE; Try python beta

2005-12-21 Thread Mike Meyer
"Maravilloso" <[EMAIL PROTECTED]> writes: > I'm afraid that I've spoiled the "try_python" working by means of > executing the sentence: > > open("try.py").write("\n") > > Sorry. I hope it don't be difficult for you to restore the module again > to the default folder. No problem - I'm not crazy eno

Re: ANNOUNCE; Try python beta

2005-12-21 Thread Maravilloso
I'm afraid that I've spoiled the "try_python" working by means of executing the sentence: open("try.py").write("\n") Sorry. I hope it don't be difficult for you to restore the module again to the default folder. In any case, I think it should include some control for malicious code like that one

Re: ANNOUNCE; Try python beta

2005-12-21 Thread Eric
On 20 December 2005, Mike Meyer wrote: > Ok, I've given it the interface I want, and made it less of an > attractive nuisance. > > http://www.mired.org/home/mwm/try_python/ is now ready for people to > play with. There's no tutorial information on it yet, that's the next > thing to do. However, I w

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Mike Meyer
Richie Hindle <[EMAIL PROTECTED]> writes: >> My assumption is that if splitting on '\n' leaves us with one >> thing, we may have gotten a string that used \r for newlines > Ah, OK. Your comment talks about DOS - that won't happen on DOS (or > Windows) which uses \r\n. I don't know about the Mac.

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Richie Hindle
[Richie] > I think it's your JavaScript '\r' processing that's broken. Certainly the > error ("unexpected EOF while parsing") is consistent with having a \r on the > end of the expression. [Mike] > Python doesn't care about the trailing newline. That's a carriage return, not a newline: >>> eva

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Mike Meyer
Richie Hindle <[EMAIL PROTECTED]> writes: >> Yeah, I know. I poked at it briefly, but couldn't figure out what was >> goiing on. MSIE on the Mac doesn't work at all (no AJAT), and I don't >> have regular access to a Windows box to try it on. > > I think it's your JavaScript '\r' processing that's b

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Paul Boddie
Mike Meyer wrote: [Browser behaviour] > Actually, it's doing form processing. It's doing XMLHttpRequests. You might want to add some workarounds for Konqueror. What I found was that Konqueror (on KDE 3.4.0) has a tendency to add null bytes to the end of some form field values. Consequently, I ge

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Richie Hindle
[Claudio] > The page doesn't work for me in MSIE (I am on a Windows system) [Mike] > Yeah, I know. I poked at it briefly, but couldn't figure out what was > goiing on. MSIE on the Mac doesn't work at all (no AJAT), and I don't > have regular access to a Windows box to try it on. I think it's you

Re: ANNOUNCE; Try python beta

2005-12-20 Thread Kay Schluehr
Mike Meyer wrote: > Ok, I've given it the interface I want, and made it less of an > attractive nuisance. > > http://www.mired.org/home/mwm/try_python/ is now ready for people to > play with. There's no tutorial information on it yet, that's the next > thing to do. However, I won't be able to work

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Mike Meyer
[EMAIL PROTECTED] writes: > >> It does work for me in FireFox and Netscape: > >> >>> 1+1 > >> 2 > Mike> Also Safari, Mozilla and Netscape. > I tried 4+3 in Safari and got I've been futzing with it all evening. Various things I've done have broken it in strange ways. It's working n

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Mike Meyer
"David Wahler" <[EMAIL PROTECTED]> writes: > Mike Meyer wrote: >> The previous version was in a jail, which is why I didn't want it >> generally announced. The logs made amusing reading. I like Gerhard's >> idea of removing __import__, and have done that. > Oh, you have, eh? Are you absolutely sur

Re: ANNOUNCE; Try python beta

2005-12-19 Thread David Wahler
Mike Meyer wrote: > The previous version was in a jail, which is why I didn't want it > generally announced. The logs made amusing reading. I like Gerhard's > idea of removing __import__, and have done that. Oh, you have, eh? Are you absolutely sure? Try running "grep 'all your base' log". -- Dav

Re: ANNOUNCE; Try python beta

2005-12-19 Thread skip
>> It does work for me in FireFox and Netscape: >> >>> 1+1 >> 2 Mike> Also Safari, Mozilla and Netscape. I tried 4+3 in Safari and got 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Mike Meyer
Claudio Grondi <[EMAIL PROTECTED]> writes: > Mike Meyer wrote: >> Ok, I've given it the interface I want, and made it less of an >> attractive nuisance. >> http://www.mired.org/home/mwm/try_python/ is now ready for people to >> play with. There's no tutorial information on it yet, that's the next >

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Mike Meyer
"Lonnie Princehouse" <[EMAIL PROTECTED]> writes: > Pretty neat =) > But aren't you concerned about security? Letting anybody execute > arbitrary Python expressions (and therefore also arbitrary system > commands?!) on your box --- even from within a FreeBSD jail --- seems a > bit dangerous. What'

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Devan L
Mike Meyer wrote: > Ok, I've given it the interface I want, and made it less of an > attractive nuisance. > > http://www.mired.org/home/mwm/try_python/ is now ready for people to > play with. There's no tutorial information on it yet, that's the next > thing to do. However, I won't be able to work

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Gerhard Häring
Lonnie Princehouse wrote: > Pretty neat =) > > But aren't you concerned about security? Letting anybody execute > arbitrary Python expressions (and therefore also arbitrary system > commands?!) on your box --- even from within a FreeBSD jail --- seems a > bit dangerous. I found out about the Fre

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Claudio Grondi
Mike Meyer wrote: > Ok, I've given it the interface I want, and made it less of an > attractive nuisance. > > http://www.mired.org/home/mwm/try_python/ is now ready for people to > play with. There's no tutorial information on it yet, that's the next > thing to do. However, I won't be able to work

Re: ANNOUNCE; Try python beta

2005-12-19 Thread Lonnie Princehouse
Pretty neat =) But aren't you concerned about security? Letting anybody execute arbitrary Python expressions (and therefore also arbitrary system commands?!) on your box --- even from within a FreeBSD jail --- seems a bit dangerous. -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCE; Try python beta

2005-12-19 Thread Mike Meyer
Ok, I've given it the interface I want, and made it less of an attractive nuisance. http://www.mired.org/home/mwm/try_python/ is now ready for people to play with. There's no tutorial information on it yet, that's the next thing to do. However, I won't be able to work on it for a while, so if you