Thanks.
I think passing unexpected values to a method is less of a problem now,
since the method has to be explicitly aware (either via error_handler
decorator, or tg_errors parameter) of the possibility of an invalid value.
Simon
Michele Cella wrote:
Simon Belak wrote:
Hi,
I would like to direct your attention to Widget.validate. Currently we
delete any non-conforming arguments. This is a very very nasty
side-effect. If nothing else, it can trip any method validating
positional arguments (e.g. turbogears/tests/test_form_controllers.py).
There is also a pending ticket on this aspect:
http://trac.turbogears.org/turbogears/ticket/476
Ciao
Michele