summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorfuzzyman <devnull@localhost>2009-04-13 20:30:55 +0000
committerfuzzyman <devnull@localhost>2009-04-13 20:30:55 +0000
commitf535ca5aa5d5a444b48d837a5f5e5178568c9856 (patch)
treead216f9d4532d202b2e5b7c3781c9e3653a4223f /docs
parent45dab2cccd1c65a65348a11e21e477684473a157 (diff)
downloadconfigobj-git-f535ca5aa5d5a444b48d837a5f5e5178568c9856.tar.gz
Doc updates
Diffstat (limited to 'docs')
-rw-r--r--docs/configobj.txt23
1 files changed, 8 insertions, 15 deletions
diff --git a/docs/configobj.txt b/docs/configobj.txt
index 8b5f923..cec093c 100644
--- a/docs/configobj.txt
+++ b/docs/configobj.txt
@@ -2195,19 +2195,6 @@ Here is an example of how you could present this information to the user.
{-coloring}
-ConfigObj 3
-===========
-
-ConfigObj 3 is now deprecated in favour of ConfigObj 4. I can fix bugs in
-ConfigObj 3 if needed, though.
-
-For anyone who still needs it, you can download it here: `ConfigObj 3.3.1`_
-
-You can read the old docs at : `ConfigObj 3 Docs`_
-
-.. _ConfigObj 3.3.1: http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj3.zip
-.. _ConfigObj 3 Docs: http://www.voidspace.org.uk/python/configobj3.html
-
CREDITS
=======
@@ -2220,7 +2207,7 @@ validation system and the doctests.
*validate.py* was originally written by Michael Foord and Mark Andrews.
-Thanks to others for input and bugfixes.
+Thanks to many others for input, patches and bugfixes.
LICENSE
@@ -2276,7 +2263,7 @@ Better support for configuration from multiple files, including tracking
*where* the original file came from and writing changes to the correct
file.
-Make ``newline`` an option (as well as an attribute) ?
+Make ``newline`` a keyword argument (as well as an attribute) ?
``UTF16`` encoded files, when returned as a list of lines, will have the
BOM at the start of every line. Should this be removed from all but the
@@ -2306,6 +2293,12 @@ ISSUES
There is currently no way to specify the encoding of a configspec file.
+As a consequence of the changes to configspec handling in version 4.6.0, when you create a ConfigObj instance and provide a configspec, the configspec attribute is only set on the ConfigObj instance - it isn't set on the sections until you validate. You also can't set the configspec attribute to be a dictionary. This wasn't documented but did work previously.
+
+In order to fix the problem with hashes in configspecs I had to turn off the parsing of inline comments in configspecs. This will only affect you if you are using ``copy=True`` when validating and expecting inline comments to be copied from the configspec into the ConfigObj instance (all other comments will be copied as usual).
+
+If you *create* the configspec by passing in a ConfigObj instance (usual way is to pass in a filename or list of lines) then you should pass in ``_inspec=True`` to the constructor to allow hashes in values. This is the magic that switches off inline comment parsing.
+
When using ``copy`` mode for validation, it won't copy ``DEFAULT``
sections. This is so that you *can* use interpolation in configspec
files.