RE: automatic type conversion from URL parameters Options

2011-09-07 Thread joshjdevl
> One solution to your problem could be to write a decorator that takes a > list of types (plus something like None for "don't care") and > automatically converts argument N to thetypein the N-th element of the > list before calling your function. Is there an example or tutorial showing how to wri

Re: automatic type conversion from URL parameters

2011-09-07 Thread joshjdevl
> One solution to your problem could be to write a decorator that takes a > list of types (plus something like None for "don't care") and > automatically converts argument N to thetypein the N-th element of the > list before calling your function. How would one write a decorator to take a list of