|
From: Arve K. <arv...@gm...> - 2008-01-17 08:47:39
|
On Jan 16, 2008 11:21 PM, Michael Foord <fuz...@vo...> wrote: > Arve Knudsen wrote: > > Superb. Glad to see the list conversion bug is fixed. > > Cool, it would be great if you could test the version in SVN to see if > it really fixes your problems (and doesn't introduce new ones). I've tested, and no problems detected so far (strings are no longer accepted for lists). Arve > > Next I'm looking at adding 'reset', 'reload' and 'restore_defaults' > (your patch) to ConfigObj. If I add these methods then the new release > will be version 4.5.0 I guess. > > I'd lake to make some other changes to the API - but as these break > backwards compatibility they will have to wait some unspecified length > of time for a version 5: > > 'write' should return a string rather than a list of strings if there is > no filename. > The options dictionary parameter in the constructor doesn't really make > sense. > > Michael > http://www.manning.com/foord > > > > > > Thanks, > > Arve > > > > On Jan 16, 2008 3:07 PM, Michael Foord <fuz...@vo... > > <mailto:fuz...@vo...>> wrote: > > > > Hello all, > > > > The following changes to the validate module are now in SVN: > > > > A couple of documentation bug fixes. > > > > Removed CHANGELOG from module. > > > > Bugfix: we weren't unquoting keyword arguments of length two, so an > > empty string didn't work as a default. > > > > Bugfix: Strings no longer pass the 'is_list' check. Additionally, > the > > list checks always return lists. > > > > Added 'tuple' check and corresponding 'is_tuple' function (which > > always > > returns a tuple). > > > > All the best, > > > > > > Michael > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > <http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > > _______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > <mailto:Con...@li...> > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Configobj-develop mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > |