diff options
author | fuzzyman <devnull@localhost> | 2010-03-01 22:34:43 +0000 |
---|---|---|
committer | fuzzyman <devnull@localhost> | 2010-03-01 22:34:43 +0000 |
commit | 5c2931187ebe472d1fa325f7480e930027f62d42 (patch) | |
tree | d8024b41c411dd4f64f39d16d91aa48bc59e71e6 | |
parent | 20c75063e4e0d3e3441b5b65d4c14ab63016b672 (diff) | |
download | configobj-5c2931187ebe472d1fa325f7480e930027f62d42.tar.gz |
Doc updates
-rw-r--r-- | docs/configobj.html | 150 | ||||
-rw-r--r-- | docs/configobj.txt | 8 |
2 files changed, 88 insertions, 70 deletions
diff --git a/docs/configobj.html b/docs/configobj.html index 7b82b22..6bf69a1 100644 --- a/docs/configobj.html +++ b/docs/configobj.html @@ -6,7 +6,7 @@ <meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" /> <title>Reading and Writing Config Files</title> <meta name="authors" content="Michael Foord Nicola Larosa" /> -<meta name="date" content="2010/02/07" /> +<meta name="date" content="2010/02/27" /> <meta content="ConfigObj - a Python module for easy reading and writing of config files." name="description" /> <meta content="python, script, module, config, configuration, data, persistence, developer, configparser" name="keywords" /> <link rel="stylesheet" href="docutils.css" type="text/css" /> @@ -23,9 +23,9 @@ <td>Michael Foord <br />Nicola Larosa</td></tr> <tr><th class="docinfo-name">Version:</th> -<td>ConfigObj 4.7.1</td></tr> +<td>ConfigObj 4.7.2</td></tr> <tr><th class="docinfo-name">Date:</th> -<td>2010/02/07</td></tr> +<td>2010/02/27</td></tr> <tr class="field"><th class="docinfo-name">Homepage:</th><td class="field-body"><a class="reference external" href="http://www.voidspace.org.uk/python/configobj.html">ConfigObj Homepage</a></td> </tr> <tr class="field"><th class="docinfo-name">PyPI Entry:</th><td class="field-body"><a class="reference external" href="http://pypi.python.org/pypi/configobj/">ConfigObj on PyPI</a></td> @@ -127,38 +127,39 @@ <li><a class="reference internal" href="#todo" id="id88">18 TODO</a></li> <li><a class="reference internal" href="#issues" id="id89">19 ISSUES</a></li> <li><a class="reference internal" href="#changelog" id="id90">20 CHANGELOG</a><ul class="auto-toc"> -<li><a class="reference internal" href="#version-4-7-1" id="id91">20.1 2010/02/06 - Version 4.7.1</a></li> -<li><a class="reference internal" href="#version-4-7-0" id="id92">20.2 2010/01/09 - Version 4.7.0</a></li> -<li><a class="reference internal" href="#version-4-6-0" id="id93">20.3 2009/04/13 - Version 4.6.0</a></li> -<li><a class="reference internal" href="#version-4-5-3" id="id94">20.4 2008/06/27 - Version 4.5.3</a></li> -<li><a class="reference internal" href="#version-4-5-2" id="id95">20.5 2008/02/05 - Version 4.5.2</a></li> -<li><a class="reference internal" href="#version-4-5-1" id="id96">20.6 2008/02/05 - Version 4.5.1</a></li> -<li><a class="reference internal" href="#version-4-5-0" id="id97">20.7 2008/02/05 - Version 4.5.0</a></li> -<li><a class="reference internal" href="#version-4-4-0" id="id98">20.8 2007/02/04 - Version 4.4.0</a></li> -<li><a class="reference internal" href="#version-4-3-3-alpha4" id="id99">20.9 2006/12/17 - Version 4.3.3-alpha4</a></li> -<li><a class="reference internal" href="#version-4-3-3-alpha3" id="id100">20.10 2006/12/17 - Version 4.3.3-alpha3</a></li> -<li><a class="reference internal" href="#version-4-3-3-alpha2" id="id101">20.11 2006/12/09 - Version 4.3.3-alpha2</a></li> -<li><a class="reference internal" href="#version-4-3-3-alpha1" id="id102">20.12 2006/12/09 - Version 4.3.3-alpha1</a></li> -<li><a class="reference internal" href="#version-4-3-2" id="id103">20.13 2006/06/04 - Version 4.3.2</a></li> -<li><a class="reference internal" href="#version-4-3-1" id="id104">20.14 2006/04/29 - Version 4.3.1</a></li> -<li><a class="reference internal" href="#version-4-3-0" id="id105">20.15 2006/03/24 - Version 4.3.0</a></li> -<li><a class="reference internal" href="#version-4-2-0" id="id106">20.16 2006/02/16 - Version 4.2.0</a></li> -<li><a class="reference internal" href="#version-4-1-0" id="id107">20.17 2005/12/14 - Version 4.1.0</a></li> -<li><a class="reference internal" href="#version-4-0-2" id="id108">20.18 2005/12/02 - Version 4.0.2</a></li> -<li><a class="reference internal" href="#version-4-0-1" id="id109">20.19 2005/11/05 - Version 4.0.1</a></li> -<li><a class="reference internal" href="#version-4-0-0" id="id110">20.20 2005/10/17 - Version 4.0.0</a></li> -<li><a class="reference internal" href="#version-4-0-0-beta-5" id="id111">20.21 2005/09/09 - Version 4.0.0 beta 5</a></li> -<li><a class="reference internal" href="#version-4-0-0-beta-4" id="id112">20.22 2005/09/07 - Version 4.0.0 beta 4</a></li> -<li><a class="reference internal" href="#version-4-0-0-beta-3" id="id113">20.23 2005/08/28 - Version 4.0.0 beta 3</a></li> -<li><a class="reference internal" href="#version-4-0-0-beta-2" id="id114">20.24 2005/08/25 - Version 4.0.0 beta 2</a></li> -<li><a class="reference internal" href="#version-4-0-0-beta-1" id="id115">20.25 2005/08/21 - Version 4.0.0 beta 1</a></li> -<li><a class="reference internal" href="#version-3-0-0" id="id116">20.26 2004/05/24 - Version 3.0.0</a></li> -<li><a class="reference internal" href="#version-2-0-0-beta" id="id117">20.27 2004/03/14 - Version 2.0.0 beta</a></li> -<li><a class="reference internal" href="#version-1-0-5" id="id118">20.28 2004/01/29 - Version 1.0.5</a></li> -<li><a class="reference internal" href="#origins" id="id119">20.29 Origins</a></li> +<li><a class="reference internal" href="#version-4-7-2" id="id91">20.1 2010/02/27 - Version 4.7.2</a></li> +<li><a class="reference internal" href="#version-4-7-1" id="id92">20.2 2010/02/06 - Version 4.7.1</a></li> +<li><a class="reference internal" href="#version-4-7-0" id="id93">20.3 2010/01/09 - Version 4.7.0</a></li> +<li><a class="reference internal" href="#version-4-6-0" id="id94">20.4 2009/04/13 - Version 4.6.0</a></li> +<li><a class="reference internal" href="#version-4-5-3" id="id95">20.5 2008/06/27 - Version 4.5.3</a></li> +<li><a class="reference internal" href="#version-4-5-2" id="id96">20.6 2008/02/05 - Version 4.5.2</a></li> +<li><a class="reference internal" href="#version-4-5-1" id="id97">20.7 2008/02/05 - Version 4.5.1</a></li> +<li><a class="reference internal" href="#version-4-5-0" id="id98">20.8 2008/02/05 - Version 4.5.0</a></li> +<li><a class="reference internal" href="#version-4-4-0" id="id99">20.9 2007/02/04 - Version 4.4.0</a></li> +<li><a class="reference internal" href="#version-4-3-3-alpha4" id="id100">20.10 2006/12/17 - Version 4.3.3-alpha4</a></li> +<li><a class="reference internal" href="#version-4-3-3-alpha3" id="id101">20.11 2006/12/17 - Version 4.3.3-alpha3</a></li> +<li><a class="reference internal" href="#version-4-3-3-alpha2" id="id102">20.12 2006/12/09 - Version 4.3.3-alpha2</a></li> +<li><a class="reference internal" href="#version-4-3-3-alpha1" id="id103">20.13 2006/12/09 - Version 4.3.3-alpha1</a></li> +<li><a class="reference internal" href="#version-4-3-2" id="id104">20.14 2006/06/04 - Version 4.3.2</a></li> +<li><a class="reference internal" href="#version-4-3-1" id="id105">20.15 2006/04/29 - Version 4.3.1</a></li> +<li><a class="reference internal" href="#version-4-3-0" id="id106">20.16 2006/03/24 - Version 4.3.0</a></li> +<li><a class="reference internal" href="#version-4-2-0" id="id107">20.17 2006/02/16 - Version 4.2.0</a></li> +<li><a class="reference internal" href="#version-4-1-0" id="id108">20.18 2005/12/14 - Version 4.1.0</a></li> +<li><a class="reference internal" href="#version-4-0-2" id="id109">20.19 2005/12/02 - Version 4.0.2</a></li> +<li><a class="reference internal" href="#version-4-0-1" id="id110">20.20 2005/11/05 - Version 4.0.1</a></li> +<li><a class="reference internal" href="#version-4-0-0" id="id111">20.21 2005/10/17 - Version 4.0.0</a></li> +<li><a class="reference internal" href="#version-4-0-0-beta-5" id="id112">20.22 2005/09/09 - Version 4.0.0 beta 5</a></li> +<li><a class="reference internal" href="#version-4-0-0-beta-4" id="id113">20.23 2005/09/07 - Version 4.0.0 beta 4</a></li> +<li><a class="reference internal" href="#version-4-0-0-beta-3" id="id114">20.24 2005/08/28 - Version 4.0.0 beta 3</a></li> +<li><a class="reference internal" href="#version-4-0-0-beta-2" id="id115">20.25 2005/08/25 - Version 4.0.0 beta 2</a></li> +<li><a class="reference internal" href="#version-4-0-0-beta-1" id="id116">20.26 2005/08/21 - Version 4.0.0 beta 1</a></li> +<li><a class="reference internal" href="#version-3-0-0" id="id117">20.27 2004/05/24 - Version 3.0.0</a></li> +<li><a class="reference internal" href="#version-2-0-0-beta" id="id118">20.28 2004/03/14 - Version 2.0.0 beta</a></li> +<li><a class="reference internal" href="#version-1-0-5" id="id119">20.29 2004/01/29 - Version 1.0.5</a></li> +<li><a class="reference internal" href="#origins" id="id120">20.30 Origins</a></li> </ul> </li> -<li><a class="reference internal" href="#footnotes" id="id120">21 Footnotes</a></li> +<li><a class="reference internal" href="#footnotes" id="id121">21 Footnotes</a></li> </ul> </div> <div class="note"> @@ -205,7 +206,7 @@ It has lots of other features though :</p> </div> <div class="section" id="downloading"> <h1><a class="toc-backref" href="#id28">2 Downloading</a></h1> -<p>The current version is <strong>4.7.1</strong>, dated 7th February 2010. ConfigObj 4 is +<p>The current version is <strong>4.7.2</strong>, dated 27th February 2010. ConfigObj 4 is stable and mature. We still expect to pick up a few bugs along the way though <a class="footnote-reference" href="#id15" id="id1">[1]</a>.</p> <p>You can get ConfigObj in the following ways :</p> <ul> @@ -215,7 +216,7 @@ stable and mature. We still expect to pick up a few bugs along the way though <a all the functionality except <a class="reference internal" href="#validation">Validation</a>.</p> </blockquote> </li> -<li><p class="first"><a class="reference external" href="http://www.voidspace.org.uk/downloads/configobj-4.7.1.zip">configobj.zip</a> from Voidspace</p> +<li><p class="first"><a class="reference external" href="http://www.voidspace.org.uk/downloads/configobj-4.7.2.zip">configobj.zip</a> from Voidspace</p> <blockquote> <p>This also contains <a class="reference external" href="http://www.voidspace.org.uk/downloads/validate.py">validate.py</a> and <a class="reference external" href="http://www.voidspace.org.uk/python/configobj.html">this document</a>.</p> </blockquote> @@ -2176,14 +2177,30 @@ will be.</p> <h1><a class="toc-backref" href="#id90">20 CHANGELOG</a></h1> <p>This is an abbreviated changelog showing the major releases up to version 4. From version 4 it lists all releases and changes.</p> +<div class="section" id="version-4-7-2"> +<h2><a class="toc-backref" href="#id91">20.1 2010/02/27 - Version 4.7.2</a></h2> +<ul class="simple"> +<li>BUGFIX: Restore Python 2.3 compatibility</li> +<li>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.</li> +<li>BUGFIX: <tt class="docutils literal">pop</tt> now does interpolation in list values as well.</li> +<li>BUGFIX: where interpolation matches a section name rather than a value it is +ignored instead of raising an exception on fetching the item.</li> +<li>BUGFIX: values that use interpolation to reference members that don't exist can +now be repr'd.</li> +<li>BUGFIX: Fix to avoid writing 'rrn' on Windows when given a file opened in +text write mode ('w').</li> +</ul> +</div> <div class="section" id="version-4-7-1"> -<h2><a class="toc-backref" href="#id91">20.1 2010/02/06 - Version 4.7.1</a></h2> +<h2><a class="toc-backref" href="#id92">20.2 2010/02/06 - Version 4.7.1</a></h2> <ul class="simple"> <li>Fix bug in options deprecation warning added in 4.7.0</li> </ul> </div> <div class="section" id="version-4-7-0"> -<h2><a class="toc-backref" href="#id92">20.2 2010/01/09 - Version 4.7.0</a></h2> +<h2><a class="toc-backref" href="#id93">20.3 2010/01/09 - Version 4.7.0</a></h2> <ul class="simple"> <li>Minimum supported version of Python is now 2.3</li> <li>~25% performance improvement thanks to Christian Heimes</li> @@ -2211,7 +2228,7 @@ now only be returned for a section if it is missing</li> </ul> </div> <div class="section" id="version-4-6-0"> -<h2><a class="toc-backref" href="#id93">20.3 2009/04/13 - Version 4.6.0</a></h2> +<h2><a class="toc-backref" href="#id94">20.4 2009/04/13 - Version 4.6.0</a></h2> <ul class="simple"> <li>Pickling of ConfigObj instances now supported (thanks to Christian Heimes)</li> <li>Hashes in confgspecs are now allowed (see note below)</li> @@ -2238,22 +2255,22 @@ list of lines) then you should pass in <tt class="docutils literal">_inspec=True This is the magic that switches off inline comment parsing.</p> </div> <div class="section" id="version-4-5-3"> -<h2><a class="toc-backref" href="#id94">20.4 2008/06/27 - Version 4.5.3</a></h2> +<h2><a class="toc-backref" href="#id95">20.5 2008/06/27 - Version 4.5.3</a></h2> <p>BUGFIX: fixed a problem with <tt class="docutils literal">copy=True</tt> when validating with configspecs that use <tt class="docutils literal">__many__</tt> sections.</p> </div> <div class="section" id="version-4-5-2"> -<h2><a class="toc-backref" href="#id95">20.5 2008/02/05 - Version 4.5.2</a></h2> +<h2><a class="toc-backref" href="#id96">20.6 2008/02/05 - Version 4.5.2</a></h2> <p>Distribution updated to include version 0.3.2 of <a class="reference internal" href="#validate">validate</a>. This means that <tt class="docutils literal">None</tt> as a default value in configspecs works.</p> </div> <div class="section" id="version-4-5-1"> -<h2><a class="toc-backref" href="#id96">20.6 2008/02/05 - Version 4.5.1</a></h2> +<h2><a class="toc-backref" href="#id97">20.7 2008/02/05 - Version 4.5.1</a></h2> <p>Distribution updated to include version 0.3.1 of <a class="reference internal" href="#validate">validate</a>. This means that Unicode configspecs now work.</p> </div> <div class="section" id="version-4-5-0"> -<h2><a class="toc-backref" href="#id97">20.7 2008/02/05 - Version 4.5.0</a></h2> +<h2><a class="toc-backref" href="#id98">20.8 2008/02/05 - Version 4.5.0</a></h2> <p>ConfigObj will now guarantee that files will be written terminated with a newline.</p> <p>ConfigObj will no longer attempt to import the <tt class="docutils literal">validate</tt> module, until/unless @@ -2277,11 +2294,11 @@ attribute is not set then a <tt class="docutils literal">ReloadError</tt> (a new <p>Removed old CHANGELOG file.</p> </div> <div class="section" id="version-4-4-0"> -<h2><a class="toc-backref" href="#id98">20.8 2007/02/04 - Version 4.4.0</a></h2> +<h2><a class="toc-backref" href="#id99">20.9 2007/02/04 - Version 4.4.0</a></h2> <p>Official release of 4.4.0</p> </div> <div class="section" id="version-4-3-3-alpha4"> -<h2><a class="toc-backref" href="#id99">20.9 2006/12/17 - Version 4.3.3-alpha4</a></h2> +<h2><a class="toc-backref" href="#id100">20.10 2006/12/17 - Version 4.3.3-alpha4</a></h2> <p>By Nicola Larosa</p> <p>Allowed arbitrary indentation in the <tt class="docutils literal">indent_type</tt> parameter, removed the <tt class="docutils literal">NUM_INDENT_SPACES</tt> and <tt class="docutils literal">MAX_INTERPOL_DEPTH</tt> (a leftover) constants, @@ -2292,26 +2309,26 @@ the documentation.</p> with <a class="reference external" href="http://www.codeplex.com/IronPython">IronPython</a>.</p> </div> <div class="section" id="version-4-3-3-alpha3"> -<h2><a class="toc-backref" href="#id100">20.10 2006/12/17 - Version 4.3.3-alpha3</a></h2> +<h2><a class="toc-backref" href="#id101">20.11 2006/12/17 - Version 4.3.3-alpha3</a></h2> <p>By Nicola Larosa</p> <p>Added a missing <tt class="docutils literal">self.</tt> in the _handle_comment method and a related test, per Sourceforge bug #1523975.</p> </div> <div class="section" id="version-4-3-3-alpha2"> -<h2><a class="toc-backref" href="#id101">20.11 2006/12/09 - Version 4.3.3-alpha2</a></h2> +<h2><a class="toc-backref" href="#id102">20.12 2006/12/09 - Version 4.3.3-alpha2</a></h2> <p>By Nicola Larosa</p> <p>Changed interpolation search strategy, based on this patch by Robin Munn: <a class="reference external" href="http://sourceforge.net/mailarchive/message.php?msg_id=17125993">http://sourceforge.net/mailarchive/message.php?msg_id=17125993</a></p> </div> <div class="section" id="version-4-3-3-alpha1"> -<h2><a class="toc-backref" href="#id102">20.12 2006/12/09 - Version 4.3.3-alpha1</a></h2> +<h2><a class="toc-backref" href="#id103">20.13 2006/12/09 - Version 4.3.3-alpha1</a></h2> <p>By Nicola Larosa</p> <p>Added Template-style interpolation, with tests, based on this patch by Robin Munn: <a class="reference external" href="http://sourceforge.net/mailarchive/message.php?msg_id=17125991">http://sourceforge.net/mailarchive/message.php?msg_id=17125991</a> (awful archives, bad Sourceforge, bad).</p> </div> <div class="section" id="version-4-3-2"> -<h2><a class="toc-backref" href="#id103">20.13 2006/06/04 - Version 4.3.2</a></h2> +<h2><a class="toc-backref" href="#id104">20.14 2006/06/04 - Version 4.3.2</a></h2> <p>Changed error handling, if parsing finds a single error then that error will be re-raised. That error will still have an <tt class="docutils literal">errors</tt> and a <tt class="docutils literal">config</tt> attribute.</p> @@ -2328,7 +2345,7 @@ and the line number of the first error. (In the case of multiple errors.)</p> The errors stored will be an <tt class="docutils literal">UnreprError</tt>.</p> </div> <div class="section" id="version-4-3-1"> -<h2><a class="toc-backref" href="#id104">20.14 2006/04/29 - Version 4.3.1</a></h2> +<h2><a class="toc-backref" href="#id105">20.15 2006/04/29 - Version 4.3.1</a></h2> <p>Added <tt class="docutils literal">validate.py</tt> back into <tt class="docutils literal">configobj.zip</tt>. (Thanks to Stewart Midwinter)</p> <p>Updated to <a class="reference external" href="http://www.voidspace.org.uk/downloads/validate.py">validate.py</a> 0.2.2.</p> @@ -2340,7 +2357,7 @@ Midwinter)</p> Dangoor.)</p> </div> <div class="section" id="version-4-3-0"> -<h2><a class="toc-backref" href="#id105">20.15 2006/03/24 - Version 4.3.0</a></h2> +<h2><a class="toc-backref" href="#id106">20.16 2006/03/24 - Version 4.3.0</a></h2> <p>Moved the tests and the CHANGELOG (etc) into a separate file. This has reduced the size of <tt class="docutils literal">configobj.py</tt> by about 40%.</p> <p>Added the <tt class="docutils literal">unrepr</tt> mode to reading and writing config files. Thanks to Kevin @@ -2362,7 +2379,7 @@ the configspec file using <tt class="docutils literal">list_values=False</tt>).< <p>Sorted footnotes in the docs.</p> </div> <div class="section" id="version-4-2-0"> -<h2><a class="toc-backref" href="#id106">20.16 2006/02/16 - Version 4.2.0</a></h2> +<h2><a class="toc-backref" href="#id107">20.17 2006/02/16 - Version 4.2.0</a></h2> <p>Removed <tt class="docutils literal">BOM_UTF8</tt> from <tt class="docutils literal">__all__</tt>.</p> <p>The <tt class="docutils literal">BOM</tt> attribute has become a boolean. (Defaults to <tt class="docutils literal">False</tt>.) It is <em>only</em> <tt class="docutils literal">True</tt> for the <tt class="docutils literal">UTF16/UTF8</tt> encodings.</p> @@ -2386,7 +2403,7 @@ a list of lines.</p> <p>Added <tt class="docutils literal">as_int</tt> and <tt class="docutils literal">as_float</tt>.</p> </div> <div class="section" id="version-4-1-0"> -<h2><a class="toc-backref" href="#id107">20.17 2005/12/14 - Version 4.1.0</a></h2> +<h2><a class="toc-backref" href="#id108">20.18 2005/12/14 - Version 4.1.0</a></h2> <p>Added <tt class="docutils literal">merge</tt>, a recursive update.</p> <p>Added <tt class="docutils literal">preserve_errors</tt> to <tt class="docutils literal">validate</tt> and the <tt class="docutils literal">flatten_errors</tt> example function.</p> @@ -2398,11 +2415,11 @@ This allows interpolation in configspecs.</p> <p>Also use the new list syntax in <a class="reference internal" href="#validate">validate</a> 0.2.1. (For configspecs).</p> </div> <div class="section" id="version-4-0-2"> -<h2><a class="toc-backref" href="#id108">20.18 2005/12/02 - Version 4.0.2</a></h2> +<h2><a class="toc-backref" href="#id109">20.19 2005/12/02 - Version 4.0.2</a></h2> <p>Fixed bug in <tt class="docutils literal">create_empty</tt>. Thanks to Paul Jimenez for the report.</p> </div> <div class="section" id="version-4-0-1"> -<h2><a class="toc-backref" href="#id109">20.19 2005/11/05 - Version 4.0.1</a></h2> +<h2><a class="toc-backref" href="#id110">20.20 2005/11/05 - Version 4.0.1</a></h2> <p>Fixed bug in <tt class="docutils literal">Section.walk</tt> when transforming names as well as values.</p> <p>Added the <tt class="docutils literal">istrue</tt> method. (Fetches the boolean equivalent of a string value).</p> @@ -2411,7 +2428,7 @@ are multiline values.</p> <p>List values are written as <tt class="docutils literal">item, item</tt> rather than <tt class="docutils literal">item,item</tt>.</p> </div> <div class="section" id="version-4-0-0"> -<h2><a class="toc-backref" href="#id110">20.20 2005/10/17 - Version 4.0.0</a></h2> +<h2><a class="toc-backref" href="#id111">20.21 2005/10/17 - Version 4.0.0</a></h2> <p><strong>ConfigObj 4.0.0 Final</strong></p> <p>Fixed bug in <tt class="docutils literal">setdefault</tt>. When creating a new section with setdefault the reference returned would be to the dictionary passed in <em>not</em> to the new @@ -2419,20 +2436,20 @@ section. Bug fixed and behaviour documented.</p> <p>Obscure typo/bug fixed in <tt class="docutils literal">write</tt>. Wouldn't have affected anyone though.</p> </div> <div class="section" id="version-4-0-0-beta-5"> -<h2><a class="toc-backref" href="#id111">20.21 2005/09/09 - Version 4.0.0 beta 5</a></h2> +<h2><a class="toc-backref" href="#id112">20.22 2005/09/09 - Version 4.0.0 beta 5</a></h2> <p>Removed <tt class="docutils literal">PositionError</tt>.</p> <p>Allowed quotes around keys as documented.</p> <p>Fixed bug with commas in comments. (matched as a list value)</p> </div> <div class="section" id="version-4-0-0-beta-4"> -<h2><a class="toc-backref" href="#id112">20.22 2005/09/07 - Version 4.0.0 beta 4</a></h2> +<h2><a class="toc-backref" href="#id113">20.23 2005/09/07 - Version 4.0.0 beta 4</a></h2> <p>Fixed bug in <tt class="docutils literal">__delitem__</tt>. Deleting an item no longer deletes the <tt class="docutils literal">inline_comments</tt> attribute.</p> <p>Fixed bug in initialising ConfigObj from a ConfigObj.</p> <p>Changed the mailing list address.</p> </div> <div class="section" id="version-4-0-0-beta-3"> -<h2><a class="toc-backref" href="#id113">20.23 2005/08/28 - Version 4.0.0 beta 3</a></h2> +<h2><a class="toc-backref" href="#id114">20.24 2005/08/28 - Version 4.0.0 beta 3</a></h2> <p>Interpolation is switched off before writing out files.</p> <p>Fixed bug in handling <tt class="docutils literal">StringIO</tt> instances. (Thanks to report from Gustavo Niemeyer.)</p> @@ -2440,12 +2457,12 @@ Gustavo Niemeyer.)</p> (For the sake of IDE calltips).</p> </div> <div class="section" id="version-4-0-0-beta-2"> -<h2><a class="toc-backref" href="#id114">20.24 2005/08/25 - Version 4.0.0 beta 2</a></h2> +<h2><a class="toc-backref" href="#id115">20.25 2005/08/25 - Version 4.0.0 beta 2</a></h2> <p>Amendments to <em>validate.py</em>.</p> <p>First public release.</p> </div> <div class="section" id="version-4-0-0-beta-1"> -<h2><a class="toc-backref" href="#id115">20.25 2005/08/21 - Version 4.0.0 beta 1</a></h2> +<h2><a class="toc-backref" href="#id116">20.26 2005/08/21 - Version 4.0.0 beta 1</a></h2> <p>Reads nested subsections to any depth.</p> <p>Multiline values.</p> <p>Simplified options and methods.</p> @@ -2463,7 +2480,7 @@ Gustavo Niemeyer.)</p> <p>Plus lots of other improvements.</p> </div> <div class="section" id="version-3-0-0"> -<h2><a class="toc-backref" href="#id116">20.26 2004/05/24 - Version 3.0.0</a></h2> +<h2><a class="toc-backref" href="#id117">20.27 2004/05/24 - Version 3.0.0</a></h2> <p>Several incompatible changes: another major overhaul and change. (Lots of improvements though).</p> <p>Added support for standard config files with sections. This has an entirely @@ -2494,7 +2511,7 @@ keyword is unquoted.</p> <p>Charmap is now incorporated into ConfigObj.</p> </div> <div class="section" id="version-2-0-0-beta"> -<h2><a class="toc-backref" href="#id117">20.27 2004/03/14 - Version 2.0.0 beta</a></h2> +<h2><a class="toc-backref" href="#id118">20.28 2004/03/14 - Version 2.0.0 beta</a></h2> <p>Re-written it to subclass dict. My first forays into inheritance and operator overloading.</p> <p>The config object now behaves like a dictionary.</p> @@ -2508,7 +2525,7 @@ file without you <em>having</em> to supply a config spec.</p> and delete.</p> </div> <div class="section" id="version-1-0-5"> -<h2><a class="toc-backref" href="#id118">20.28 2004/01/29 - Version 1.0.5</a></h2> +<h2><a class="toc-backref" href="#id119">20.29 2004/01/29 - Version 1.0.5</a></h2> <p>Version 1.0.5 has a couple of bugfixes as well as a couple of useful additions over previous versions.</p> <p>Since 1.0.0 the buildconfig function has been moved into this distribution, @@ -2516,7 +2533,7 @@ and the methods reset, verify, getval and setval have been added.</p> <p>A couple of bugs have been fixed.</p> </div> <div class="section" id="origins"> -<h2><a class="toc-backref" href="#id119">20.29 Origins</a></h2> +<h2><a class="toc-backref" href="#id120">20.30 Origins</a></h2> <p>ConfigObj originated in a set of functions for reading config files in the <a class="reference external" href="http://www.voidspace.org.uk/atlantibots/">atlantibots</a> project. The original functions were written by Rob McNeur.</p> @@ -2524,7 +2541,7 @@ functions were written by Rob McNeur.</p> </div> <hr class="docutils" /> <div class="section" id="footnotes"> -<h1><a class="toc-backref" href="#id120">21 Footnotes</a></h1> +<h1><a class="toc-backref" href="#id121">21 Footnotes</a></h1> <table class="docutils footnote" frame="void" id="id15" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> @@ -2567,7 +2584,8 @@ the seek method of any file like object you pass in. You may want to call <span class="c"># not attributes/comments</span> <span class="n">config2</span> <span class="o">=</span> <span class="n">ConfigObj</span><span class="p">(</span><span class="n">config1</span><span class="p">)</span> </pre></div> -<p class="last">The order of values and sections will not be preserved, though.</p> +<p class="last">Since ConfigObj 4.7.0 the order of members and sections will be +preserved when copying a ConfigObj instance.</p> </td></tr> </tbody> </table> diff --git a/docs/configobj.txt b/docs/configobj.txt index ecf2ecb..f86246d 100644 --- a/docs/configobj.txt +++ b/docs/configobj.txt @@ -6,8 +6,8 @@ ---------------------------------------- :Authors: Michael Foord, Nicola Larosa -:Version: ConfigObj 4.7.1 -:Date: 2010/02/07 +:Version: ConfigObj 4.7.2 +:Date: 2010/02/27 :Homepage: `ConfigObj Homepage`_ :PyPI Entry: `ConfigObj on PyPI <http://pypi.python.org/pypi/configobj/>`_ :Development: `Google Code Homepage`_ @@ -65,7 +65,7 @@ For support and bug reports please use the ConfigObj `Mailing List`_ or the issu Downloading =========== -The current version is **4.7.1**, dated 7th February 2010. ConfigObj 4 is +The current version is **4.7.2**, dated 27th February 2010. ConfigObj 4 is stable and mature. We still expect to pick up a few bugs along the way though [#]_. You can get ConfigObj in the following ways : @@ -110,7 +110,7 @@ It is sometimes possible to get the latest *development version* of ConfigObj from the Subversion Repository maintained on the `Google Code Homepage`_. .. _configobj.py: http://www.voidspace.org.uk/downloads/configobj.py -.. _configobj.zip: http://www.voidspace.org.uk/downloads/configobj-4.7.1.zip +.. _configobj.zip: http://www.voidspace.org.uk/downloads/configobj-4.7.2.zip .. _validate.py: http://www.voidspace.org.uk/downloads/validate.py .. _this document: .. _configobj homepage: http://www.voidspace.org.uk/python/configobj.html |