25 Feb
2002
25 Feb
'02
3:59 p.m.
Andrew Kuchling writes:
But for applications where people don't edit Python, this could just be a library module and doesn't need a new operator in the Python code. I agree with Paul; there's no actual gain in clarity from the new syntax.
I'm happy with that as well.
Presumably Paul is thinking of something like: mlist = load_list('listname') # Lists have .title, .password, ... form_value = cgi.form['text'] # User puts $password into text print text \ vars(mlist)
Yes, but I'm not convinced this has any more security implications implications than using a library function to perform the transformation. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation