|
From: Nicola L. <ni...@te...> - 2007-05-15 04:39:16
|
Michael Foord wrote: >> I would like this behaviour, otherwise the validation should raise an >> error instead of silently returning a string when a list was specified >> in the validation schema. > Thanks Arve - I'll look at this. Anyone else have an opinion on the > 'raise an error or coerce to list' question ? I don't need to remind you the timeless lesson of the ages before us: ;-) "Explicit is better than implicit. ... Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess." There is an ambiguity in *meaning* here, so definitely raise an error. -- Nicola Larosa - http://www.tekNico.net/ That's what *professionals* do. They are always learning. Always. Because nothing you learn about what's "the best" or "the worst" stays the same forever. And if you don't keep up, you're just falling behind. -- Phillip J. Eby, January 2007 |