SimpleFormValidator doesn't work with sc hema.from_python({}, None)

Yap Sok Ann <[email protected]> Sun, 27 Mar 2011 22:06:02 +0800
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
 Hi,

 Should SimpleFormValidator inherit from FormValidator instead of 
 FancyValidator? Otherwise, when used as a chained validator, a call to 
 schema.from_python({}, None) will raise an exception, as 
 FancyValidator.from_python({}, None) returns None and fails the dict 
 assertion. OTOH, FormValidator.from_python({}, None) returns {} as is.

 Regards,
 Yap

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar