|
From: Michael F. <fuz...@vo...> - 2009-11-22 23:57:15
|
Hello all,
After a long time ConfigObj 4.7.0 is nearly ready for release. All that
is needed are updates to the documentation.
If you'd like to try out the new version it is at:
http://code.google.com/p/configobj/source/browse/trunk/configobj.py
I don't think I'll do a beta unless you clamour for it?
The changelist is:
* Minimum supported version of Python is now 2.3
* ~25% performance improvement thanks to Christian Heimes
* String interpolation now works in list value members
* After validation any additional entries not in the configspec are
listed in
the ``extra_values`` section member
* Addition of the ``get_extra_values`` function for finding all extra values
in a validated ConfigObj instance
* Deprecated the use of the ``options`` dictionary in the ConfigObj
constructor
and added explicit keyword arguments instead. Use **options if you want
to initialise a ConfigObj instance from a dictionary
* BUGFIX: Checks that failed validation would not populate
'default_values' and
'restore_default_value' wouldn't work for those entries
* BUGFIX: clear() clears 'defaults'
* BUGFIX: empty values in list values were accidentally valid syntax.
They now
raise a ``ParseError``. e.g. "value = 1, , 2"
* BUGFIX: Change to the result of a call to ``validate`` when
``preserve_errors``
is True. Previously sections where *all* values failed validation would
return False for the section rather than preserving the errors. False will
now only be returned for a section if it is missing
* Distribution includes version 1.0.1 of validate.py
* Removed __revision__ and __docformat__
All the best,
Michael Foord
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
|