toscawidgets/tw2.core — pull request #70 by amol- (2012-11-26 15:19:46+00:00)
Title: safe_validate didn't work with formencode validators

While tw2.core.validators.safe_validate did provide support for the state parameter in to_python it didn't provide any to the validate_python call. This lead to a crash when using it with formencode validators.

The provided commit just makes possible to use safe_validate even when formencode validators are used.