Commit Graph

61 Commits

Author SHA1 Message Date
Serhiy Storchaka ab0ac27d24 Issue #20315: Removed support for backward compatibility with early 2.x versions.
Removed backward compatibility alias curses.window.nooutrefresh which should
be removed in 2.3.
2014-01-20 21:35:06 +02:00
Serhiy Storchaka 7e52705ee3 Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:29:31 +02:00
Łukasz Langa 82276964c8 Merged fix for issue #18260 from 3.3 2013-06-23 19:12:12 +02:00
Łukasz Langa f9b4eb4d04 Fixed issue #18260: configparser TypeError on source name specified as bytes 2013-06-23 19:10:25 +02:00
Łukasz Langa f3d8fb142d fix character index in ExtendedInterpolation's exception message 2013-04-24 01:25:55 +02:00
Łukasz Langa fa608186b4 fix character index in ExtendedInterpolation's exception message 2013-04-24 01:25:18 +02:00
Łukasz Langa 6e410a2cdb Merged section order preservation fix when using `__setitem__` (issue #16820) 2013-01-01 22:36:33 +01:00
Łukasz Langa a821f82f66 configparser: preserve section order when using `__setitem__` (issue #16820) 2013-01-01 22:33:19 +01:00
Łukasz Langa 8d518970ce Merged `parser['DEFAULT'].__setitem__` fix (issue #16820) from 3.3. 2012-12-31 13:57:21 +01:00
Łukasz Langa 0210194d48 Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. 2012-12-31 13:55:11 +01:00
Łukasz Langa 1dce0003a6 Merged `parser.clean()` fix (issue #16820) from 3.2 through 3.3. 2012-12-31 03:43:37 +01:00
Łukasz Langa 0dc5ab41f0 Merged `parser.clean()` fix (issue #16820) from 3.2. 2012-12-31 03:41:54 +01:00
Łukasz Langa 3a8479a583 Fixes `parser.clean()` reported in issue #16820. 2012-12-31 03:38:39 +01:00
Łukasz Langa 641bb66070 Merged fix for #15803 from 3.2 through 3.3 2012-12-31 02:26:11 +01:00
Łukasz Langa 97eefc105e Merged fix for #15803 from 3.2 2012-12-31 02:25:28 +01:00
Łukasz Langa 3057469506 Fixes issue #15803: incorrect `ConfigParser.items()` docstring 2012-12-31 02:18:20 +01:00
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
Łukasz Langa cba243215e Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs
earlier without preceding space.
2012-07-07 18:54:08 +02:00
Ezio Melotti f10644983e Merge with 3.2. 2011-10-19 11:06:26 +03:00
Ezio Melotti e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00
Łukasz Langa 82710c594b Merged minor cleanups from 3.2. 2011-04-29 16:17:51 +02:00
Łukasz Langa 5c7419d433 Removed debugging leftovers. 2011-04-29 16:16:36 +02:00
Łukasz Langa 70eb79c669 Merged solution for #11324 from 3.2. 2011-04-28 17:04:25 +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 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