Łukasz Langa
1aa422fe8f
Closes #11324 : ConfigParser(interpolation=None) doesn't work.
...
Initial patches by Tobias Brink. Thanks!
2011-04-28 17:03:45 +02:00
Łukasz Langa
50c7562da9
Merged solution for #11858 from 3.2.
2011-04-28 11:01:18 +02:00
Łukasz Langa
e698cd54bc
Closes #11858 : configparser.ExtendedInterpolation and section case.
...
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Łukasz Langa
29050d7317
Merged #11670 from 3.2
2011-04-27 18:11:50 +02:00
Łukasz Langa
daab1c8092
Closes #11670 : configparser read_file now iterates over f.
2011-04-27 18:10:05 +02:00
Raymond Hettinger
9fe1ccfb5a
Issue #11297 : Add collections.ChainMap()
2011-02-26 01:02:51 +00:00
Raymond Hettinger
57d1a887e7
Fix imports from collections.abc
2011-02-23 00:46:28 +00:00
Raymond Hettinger
ddb52404ee
Issue #11089 : Fix performance issue limiting the use of ConfigParser()
...
with large config files.
2011-02-21 19:42:11 +00:00
Raymond Hettinger
e66036063b
Issue #11089 : Fix performance issue limiting the use of ConfigParser()
...
with large config files.
2011-02-21 19:38:53 +00:00
Łukasz Langa
71b37a5d6d
100% test coverage, better mapping protocol compatibility, some minor bugfixes
2010-12-17 21:56:32 +00:00
Łukasz Langa
b25a791802
configparser API cleanup: default values now sensible, slightly incompatible.
...
Backwards compatible alternative values possible as documented.
Done by Łukasz Langa, approved by Raymond and Fred.
2010-12-17 01:32:29 +00:00
Łukasz Langa
7f64c8a512
Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
...
Life is beatiful once again.
2010-12-16 01:16:22 +00:00
Łukasz Langa
2f0fd0fa4f
configparser: mapping protocol access get() handles configparser-specific arguments as well
2010-12-04 17:48:18 +00:00
Łukasz Langa
2cf9ddb390
configparser: fixed inconsistency where in SafeConfigParser option values
...
were ensured to be strings but section names and option keys were not.
Behaviour unchanged for RawConfigParser and ConfigParser.
2010-12-04 12:46:01 +00:00
Łukasz Langa
24bcc61f2d
configparser: minute refactoring of RawConfigParser.items()
2010-12-04 11:48:11 +00:00
Łukasz Langa
3a11e717aa
%s -> %r correction after review by Éric Araujo
2010-12-03 22:15:19 +00:00
Łukasz Langa
b6a6f5f886
Issue 10499: Modular interpolation in configparser
2010-12-03 16:28:00 +00:00
Łukasz Langa
a73dc9d5e8
configparser: read-only attributes to get the section name and parser from a SectionProxy instance
2010-11-21 13:56:42 +00:00
Łukasz Langa
5c86339bd0
Issue #10489 : removed broken `__name__` support from configparser
2010-11-21 13:41:35 +00:00
Łukasz Langa
c264c098d0
configparser: the name of the DEFAULT section is now customizable
2010-11-20 16:15:37 +00:00
Łukasz Langa
49afa380fd
configparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http://mail.python.org/pipermail/python-dev/2010-November/105391.html
...
configparser:py: renamed _views to _proxies to be consistent with the SectionProxy name
2010-11-11 19:53:23 +00:00
Łukasz Langa
26d513cf2f
Issue #5412 : extend configparser to support mapping access
2010-11-10 18:57:39 +00:00
Florent Xicluna
42d544505f
Fix typo and add test case.
2010-09-22 22:35:38 +00:00
Fred Drake
cc645b9a59
add consistent support for the vars and default arguments on all
...
configuration parser classes
(http://bugs.python.org/issue9421 )
2010-09-04 04:35:34 +00:00
Fred Drake
8844441ae6
fix output from RawConfigParser.write and ConfigParser.write for None
...
values (http://bugs.python.org/issue7005 )
(merged r84443 from the release27-mmaint branch, with changes to reflect
changes in Python 3)
2010-09-03 04:22:36 +00:00
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