Fred Drake
a492362f9a
issue #9452 :
...
Add read_file, read_string, and read_dict to the configparser API;
new source attribute to exceptions.
2010-08-09 12:52:45 +00:00
Georg Brandl
470a123910
#1090076 : explain the behavior of *vars* in get() better.
2010-07-29 14:17:12 +00:00
Georg Brandl
8dcaa7396f
#9411 : allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
2010-07-29 12:17:40 +00:00
Georg Brandl
f206d0e393
Fix for r83202: improve the handling of empty lines.
2010-07-29 11:56:20 +00:00
Georg Brandl
96a60ae90c
#1682942 : add some ConfigParser features: alternate delimiters, alternate comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
2010-07-28 13:13:46 +00:00
Brian Curtin
9a27b0cd19
Fix #7113 . Patch by Łukasz Langa.
...
Changes include using a list of lines instead of patching together using
string interpolation, and a multi-line value test cases.
2010-07-26 00:27:10 +00:00
Michael Foord
bd6c079552
Issue #4686 - add .args to exceptions in the configparsermodule
2010-07-25 23:09:25 +00:00
Fred Drake
03c44a30a3
Merged revisions 78232 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78232 | fred.drake | 2010-02-19 00:24:30 -0500 (Fri, 19 Feb 2010) | 3 lines
- apply patch from issue 7005
- add corresponding documentation
........
2010-02-19 06:08:41 +00:00
Georg Brandl
68998bf3ff
Merged revisions 71564 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71564 | georg.brandl | 2009-04-13 14:36:24 +0200 (Mo, 13 Apr 2009) | 1 line
#5741 followup: should also allow %%(blah)s.
........
2009-04-27 16:43:36 +00:00
Georg Brandl
1f9fa31cb5
Merged revisions 71537 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71537 | georg.brandl | 2009-04-12 19:24:11 +0200 (So, 12 Apr 2009) | 1 line
#5741 : dont disallow double percent signs in SafeConfigParser.set() keys.
........
2009-04-27 16:42:58 +00:00
Raymond Hettinger
ff23e8cfe5
Fix bootstrapping problem where setup.py was using configparser
...
before _collections had been built.
2009-03-03 01:32:48 +00:00
Raymond Hettinger
0663a1ed79
Let configparser use ordered dicts by default.
2009-03-02 23:06:00 +00:00
Alexandre Vassalotti
1d1eaa45c9
Renamed ConfigParser to configparser.
...
Merged revisions 63247-63248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63247 | georg.brandl | 2008-05-14 18:30:31 -0400 (Wed, 14 May 2008) | 2 lines
Update configparser docs for lowercasing rename.
........
r63248 | alexandre.vassalotti | 2008-05-14 18:44:22 -0400 (Wed, 14 May 2008) | 8 lines
Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.
Georg, I am reverting your changes since this commit should propagate
to py3k.
........
2008-05-14 22:59:42 +00:00