Code

Changes between Version 1 and Version 2 of AjaxHelpers


Ignore:
Timestamp:
06/29/07 04:14:55 (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxHelpers

    v1 v2  
    4747    * Used exec to do the parameter parsing. So people may not like it, but this was the quickest way I could think of. External parameter is exec-ed only within a function argument: 
    4848 
     49{{{ 
    4950      def argparser(*args, **kws): 
    5051          return args, kws 
    5152      exec("args, kws=argparser("+param+")") 
     53}}} 
    5254 
    5355      I could not think of any malicious thing to do in function argument but probably there are many. Please let me know.