Thanks, I didn't know you could do that...
Uh oh. I tried it but got an error:
>>> x = All( to_python = [Int(), OneOf([1, 2, 3])] )
>>> x.to_python(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: 'list' object is not callable

Does the list need to be wrapped in an object of some sort?
BTW I'm using TurboGears 0.8a3 in case this is somthing really new.

Reply via email to