In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> David C. Ullrich skrev: > > >> just keep in mind that using eval() on untrusted data isn't a very good > >> idea. > > > > Right. This data comes from me, gets put into a file and then > > read by me. Someone _could_ corrupt that file, but someone who > > could do that could more easily just throw the machine out > > the window... > > and then your boss finds your program useful, and it's installed on a > shared server, and then the guys at the office in Eggkleiva wants a > copy, and then people start shipping save files via mail to keep things > synchronized, and then someone sets up a web service... ;-) Heh-heh. Good point, except that the idea that someone's going to find it useful is utterly implausible. Nobody but me has ever found a program I wrote useful. People think it's funny that I write little Python programs to do things I could just do in Excel or Open Office. (When I have some accounting/secretarial sort of thing to do doing it by hand in Python is one way to make it tolerably interesting. Easier to add new features - instead of trying to find an Excel way to do something like delete the smallest _two_ items in a list I just do it.) > </F> -- David C. Ullrich -- http://mail.python.org/mailman/listinfo/python-list