|
From: David H. <neg...@gm...> - 2009-07-17 14:15:21
|
How would validation work for non-string list specifications? I.e. -- what value should an empty entry be for an int_list? Ditto for the other types (float, bool, etc..). I suppose an argument can be made to use None under these circumstances. But then is it more or less intuitive for string lists to use '' instead of None? On Fri, Jul 17, 2009 at 08:31, Michael Foord <fuz...@vo...>wrote: > > Hmm... well on reflection it ought to either be a syntax error or come > in as empty string. I guess empty string makes most sense. I'm doing an > update to ConfigObj soon to address a couple of issues and see if I can > include this. > > Thanks > > Michael > > |