38 Commits

Author SHA1 Message Date
Łukasz Langa
a2e7acd17d configparser: preserve section order when using __setitem__ (issue #16820) 2013-01-01 23:45:33 +01:00
Łukasz Langa
3a8479a583 Fixes parser.clean() reported in issue #16820. 2012-12-31 03:38:39 +01:00
Łukasz Langa
3057469506 Fixes issue #15803: incorrect ConfigParser.items() docstring 2012-12-31 02:18:20 +01:00
Ezio Melotti
e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00
Łukasz Langa
5c7419d433 Removed debugging leftovers. 2011-04-29 16:16:36 +02:00
Ł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
e698cd54bc Closes #11858: configparser.ExtendedInterpolation and section case.
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02: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