Re: __repr__ of ValidationErrors in zope.schema

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3
Message-ID <[email protected]>
On Friday 24 August 2007 04:00, Christian Zagrodnick wrote:
> What should we do about this?

Well, I personally think for a programming API the error message is okay. The 
__repr__ could be better though, I agree.

For forms and other UI components, this text should be at most used for a 
default. z3c.form allows you to easily customize those error messages, for 
example.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.