[EMAIL PROTECTED] wrote: > > Brendon> A shortcut occurs to me; maybe someone can tell me > what's wrong Brendon> with my reasoning here. It seems that > any string that is unsafe Brendon> to pass to eval() must > involve a function call, and thus must Brendon> contain an > opening paren. Given that I know that the data I Brendon> > expect contains no parens, would people expect this code to > be Brendon> safe: > > Unfortunately, no. If I define a class which has properties, > attribute assignment can involve arbitrary numbers of function > calls. > > Skip
Is it possible to define a class and create an instance without using an open parens? I don't know how, but that isn't saying a great deal... max -- http://mail.python.org/mailman/listinfo/python-list