`ConfigObj 4.3.0 <http://www.voidspace.org.uk/python/configobj.html>`_
is now released.

This has several bugfixes, as well as *several* major feature
enhancements.

You can download it from :

   `ConfigObj-4.3.0.zip 244Kb
<http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.0.zip>`_

.. raw:: html

    {title;What is ConfigObj ?}

**ConfigObj** is a simple but powerful config file reader and writer:
an *ini
file round tripper*. Its main feature is that it is very easy to use,
with a
straightforward programmer's interface and a simple syntax for config
files.
It has lots of other features though :

* Nested sections (subsections), to any level
* List values
* Multiple line values
* String interpolation (substitution)
* Integrated with a powerful validation system

    - including automatic type checking/conversion
    - repeated sections
    - and allowing default values

* All comments in the file are preserved
* The order of keys/sections is preserved
* No external dependencies
* Full Unicode support
* A powerful ``unrepr`` mode for storing basic datatypes

.. raw:: html

    {title;What's New ?}

Moved the tests and the CHANGELOG (etc) into a separate file. This has
reduced the size of ``configobj.py`` by about 40%.

Added the ``unrepr`` mode to reading and writing config files. Thanks
to Kevin Dangoor for this suggestion.

Empty values are now valid syntax. They are read as an empty string
``''``.
(``key =``, or ``key = # comment``.)

``validate`` now honours the order of the configspec.

Added the ``copy`` mode to validate. Thanks to Louis Cordier for this
suggestion.

Fixed bug where files written on windows could be given ``'\r\r\n'``
line
terminators.

Fixed bug where last occurring comment line could be interpreted as the
final comment if the last line isn't terminated.

Fixed bug where nested list values would be flattened when ``write`` is
called. Now sub-lists have a string representation written instead.

Deprecated ``encode`` and ``decode`` methods instead.

You can now pass in a ConfigObj instance as a configspec (remember to
read
the configspec file using ``list_values=False``).

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Reply via email to