On 2007-08-20 14:59:52 +0200, Fred Drake [EMAIL PROTECTED] said:
On 8/20/07, Christian Zagrodnick [EMAIL PROTECTED] wrote:
I think we should add a function to validate a given schema on a given
class. This should include constraints and invariants:
I do presume you mean object, rather than
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fred Drake wrote:
On 8/20/07, Christian Zagrodnick [EMAIL PROTECTED] wrote:
I think we should add a function to validate a given schema on a given
class. This should include constraints and invariants:
I do presume you mean object, rather than
Christian Theune wrote:
Hi,
Am Montag, den 20.08.2007, 08:59 -0400 schrieb Fred Drake:
On 8/20/07, Christian Zagrodnick [EMAIL PROTECTED] wrote:
I think we should add a function to validate a given schema on a given
class. This should include constraints and invariants:
I do presume you mean
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wichert Akkerman wrote:
Previously Christian Theune wrote:
Hi,
Am Montag, den 20.08.2007, 08:59 -0400 schrieb Fred Drake:
On 8/20/07, Christian Zagrodnick [EMAIL PROTECTED] wrote:
I think we should add a function to validate a given schema on a
Am Montag, den 20.08.2007, 16:05 +0200 schrieb Philipp von
Weitershausen:
This is exactly what I would suggest: The function should return a list
of validation errors. Similar semantics are used in zope.formlib's
validate() method. I agree with Wichert's objection about being a bit
On 20 Aug 2007, at 16:12 , Benji York wrote:
Philipp von Weitershausen wrote:
This is exactly what I would suggest: The function should return a
list of validation errors. Similar semantics are used in
zope.formlib's validate() method. I agree with Wichert's objection
about being a bit
On 8/20/07, Benji York [EMAIL PROTECTED] wrote:
I like getValidationErrors. It's use would probably normally look
something like this:
...
Both look good to me.
Ok, agreed, for reasons people have already given.
-Fred
--
Fred L. Drake, Jr.fdrake at gmail.com
Chaos is the score upon