|
From: Michael F. <mi...@vo...> - 2010-02-27 21:48:47
|
Hello all, ConfigObj 4.7.2 is in subversion and ready to release. I would appreciate it if any of you could test it and check there are no obvious issues before I do a release tomorrow. http://code.google.com/p/configobj/source/browse/trunk/configobj.py It fixes a number of bugs: * BUGFIX: Restore Python 2.3 compatibility * BUGFIX: Members that were lists were being returned as copies due to interpolation introduced in 4.7. Lists are now only copies if interpolation changes a list member. * BUGFIX: ``pop`` now does interpolation in list values as well. * BUGFIX: where interpolation matches a section name rather than a value it is ignored instead of raising an exception on fetching the item. * BUGFIX: values that use interpolation to reference members that don't exist can now be repr'd. * BUGFIX: Fix to avoid writing '\r\r\n' on Windows when `write` is given a file opened in text mode ('w'). The most important fix is that list values are no longer returned as copies, except where interpolation changes a value in the list. This means that fetching list values is slightly slower than before as it has to check afterwards if interpolation has changed any of the members. Switching interpolation off if you are not using it fixes this. If this causes difficulties then perhaps interpolation into list values should be separately configurable, although that would add yet another option to the not inconsiderable constructor arguments that ConfigObj has already. There are a number of outstanding issues most of which are feature requests and will have to wait for a 4.8.0 release: http://code.google.com/p/configobj/issues/list All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. |