Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32108: Don't clear configparser values if key is assigned to itself ↵ | Cheryl Sabella | 2018-06-12 | 1 | -1/+2 |
| | | | | (GH-7588) | ||||
* | bpo-33802: Do not interpolate in ConfigParser while reading defaults (GH-7524) | Łukasz Langa | 2018-06-08 | 1 | -2/+10 |
| | | | This solves a regression in logging config due to changes in BPO-23835. | ||||
* | bpo-33504: Migrate configparser from OrderedDict to dict. (#6819) | John Reese | 2018-06-05 | 1 | -1/+2 |
| | | | | | | With 3.7+, dictionary are ordered by design. Configparser still uses collections.OrderedDict, which is unnecessary. This updates the module to use the standard dict implementation by default, and changes the docs and tests to match. | ||||
* | bpo-33251: Prevent ConfigParser.items returning items present in vars. (#6446) | Chris Bradbury | 2018-04-23 | 1 | -1/+2 |
| | | | | | | | | * bpo-33251: ConfigParser.items no longer returns items present in vars. Documentation for `ConfigParser.items()` states: 'Items present in vars no longer appear in the result.' This fix aligns behaviour to that specified in the documentation. | ||||
* | bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420) | Vincent Michel | 2017-11-02 | 1 | -1/+1 |
| | |||||
* | bpo-23835: Restore legacy defaults= behavior for RawConfigParser (#3191) | Łukasz Langa | 2017-08-24 | 1 | -1/+12 |
| | | | | | | | The fix for bpo-23835 fixed ConfigParser behavior in defaults= handling. Unfortunately, it caused a backwards compatibility regression with RawConfigParser objects which allow for non-string values. This commit restores the legacy behavior for RawConfigParser only. | ||||
* | bpo-23835: Enforce that configparser defaults are strings (#2558) | James Tocknell | 2017-08-21 | 1 | -3/+2 |
| | | | | * Enforce that configparser defaults are strings * Update test_configparser.py | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) | David Ellis | 2017-03-03 | 1 | -1/+4 |
| | |||||
* | Fixes #24142: [configparser] always join multiline values to not leave the ↵ | Łukasz Langa | 2016-11-26 | 1 | -1/+1 |
| | | | | parser in an invalid state | ||||
* | Issue #21159: Improve message in configparser.InterpolationMissingOptionError. | Robert Collins | 2015-08-13 | 1 | -15/+14 |
|\ | | | | | | | Patch from Łukasz Langa. | ||||
| * | Issue #21159: Improve message in configparser.InterpolationMissingOptionError. | Robert Collins | 2015-08-13 | 1 | -15/+14 |
| | | | | | | | | Patch from Łukasz Langa. | ||||
* | | Closes #18159: ConfigParser getters not available on SectionProxy | Łukasz Langa | 2014-09-15 | 1 | -42/+128 |
| | | |||||
* | | Fix #19546: onfigparser exceptions expose implementation details. Patch by ↵ | Łukasz Langa | 2014-09-04 | 1 | -6/+6 |
|/ | | | | Claudiu Popa. | ||||
* | Issue #20363. Fixed BytesWarning triggerred by test suite. | Serhiy Storchaka | 2014-02-06 | 1 | -2/+2 |
|\ | | | | | | | Patch by Berker Peksag. | ||||
| * | Issue #20363. Fixed BytesWarning triggerred by test suite. | Serhiy Storchaka | 2014-02-06 | 1 | -2/+2 |
| | | | | | | | | Patch by Berker Peksag. | ||||
* | | Issue #20315: Removed support for backward compatibility with early 2.x ↵ | Serhiy Storchaka | 2014-01-20 | 1 | -17/+0 |
|\ \ | |/ | | | | | | | | | | | versions. Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3. | ||||
| * | Issue #20315: Removed support for backward compatibility with early 2.x ↵ | Serhiy Storchaka | 2014-01-20 | 1 | -17/+0 |
| | | | | | | | | versions. | ||||
* | | Merged fix for issue #18260 from 3.3 | Łukasz Langa | 2013-06-23 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fixed issue #18260: configparser TypeError on source name specified as bytes | Łukasz Langa | 2013-06-23 | 1 | -2/+2 |
| | | |||||
* | | fix character index in ExtendedInterpolation's exception message | Łukasz Langa | 2013-04-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix character index in ExtendedInterpolation's exception message | Łukasz Langa | 2013-04-23 | 1 | -1/+1 |
| | | |||||
* | | Merged section order preservation fix when using `__setitem__` (issue #16820) | Łukasz Langa | 2013-01-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | configparser: preserve section order when using `__setitem__` (issue #16820) | Łukasz Langa | 2013-01-01 | 1 | -2/+2 |
| | | |||||
* | | Merged `parser['DEFAULT'].__setitem__` fix (issue #16820) from 3.3. | Łukasz Langa | 2012-12-31 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. | Łukasz Langa | 2012-12-31 | 1 | -1/+4 |
| | | |||||
* | | Merged `parser.clean()` fix (issue #16820) from 3.2 through 3.3. | Łukasz Langa | 2012-12-31 | 1 | -0/+13 |
|\ \ | |/ | |||||
| * | Merged `parser.clean()` fix (issue #16820) from 3.2. | Łukasz Langa | 2012-12-31 | 1 | -0/+13 |
| |\ | |||||
| | * | Fixes `parser.clean()` reported in issue #16820. | Łukasz Langa | 2012-12-31 | 1 | -0/+13 |
| | | | |||||
* | | | Merged fix for #15803 from 3.2 through 3.3 | Łukasz Langa | 2012-12-31 | 1 | -4/+3 |
|\ \ \ | |/ / | |||||
| * | | Merged fix for #15803 from 3.2 | Łukasz Langa | 2012-12-31 | 1 | -4/+3 |
| |\ \ | | |/ | |||||
| | * | Fixes issue #15803: incorrect `ConfigParser.items()` docstring | Łukasz Langa | 2012-12-31 | 1 | -4/+3 |
| | | | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
|/ / | |||||
* | | Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs | Łukasz Langa | 2012-07-07 | 1 | -6/+14 |
| | | | | | | | | earlier without preceding space. | ||||
* | | Merge with 3.2. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Remove duplication. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 |
| | | |||||
* | | Merged minor cleanups from 3.2. | Łukasz Langa | 2011-04-29 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | Removed debugging leftovers. | Łukasz Langa | 2011-04-29 | 1 | -2/+0 |
| | | |||||
* | | Merged solution for #11324 from 3.2. | Łukasz Langa | 2011-04-28 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | Closes #11324: ConfigParser(interpolation=None) doesn't work. | Łukasz Langa | 2011-04-28 | 1 | -4/+5 |
| | | | | | | | | Initial patches by Tobias Brink. Thanks! | ||||
* | | Merged solution for #11858 from 3.2. | Łukasz Langa | 2011-04-28 | 1 | -3/+5 |
|\ \ | |/ | |||||
| * | Closes #11858: configparser.ExtendedInterpolation and section case. | Łukasz Langa | 2011-04-28 | 1 | -3/+5 |
| | | | | | | | | Patch by ゆかり ぴんく魔女. Thanks! | ||||
* | | Merged #11670 from 3.2 | Łukasz Langa | 2011-04-27 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Closes #11670: configparser read_file now iterates over f. | Łukasz Langa | 2011-04-27 | 1 | -4/+4 |
| | | |||||
| * | Issue #11089: Fix performance issue limiting the use of ConfigParser() | Raymond Hettinger | 2011-02-21 | 1 | -8/+9 |
| | | | | | | | | with large config files. | ||||
* | | Issue #11297: Add collections.ChainMap() | Raymond Hettinger | 2011-02-26 | 1 | -1/+1 |
| | | |||||
* | | Fix imports from collections.abc | Raymond Hettinger | 2011-02-23 | 1 | -1/+2 |
| | | |||||
* | | Issue #11089: Fix performance issue limiting the use of ConfigParser() | Raymond Hettinger | 2011-02-21 | 1 | -8/+9 |
|/ | | | | with large config files. | ||||
* | 100% test coverage, better mapping protocol compatibility, some minor bugfixes | Łukasz Langa | 2010-12-17 | 1 | -17/+23 |
| | |||||
* | configparser API cleanup: default values now sensible, slightly incompatible. | Łukasz Langa | 2010-12-17 | 1 | -23/+19 |
| | | | | | Backwards compatible alternative values possible as documented. Done by Łukasz Langa, approved by Raymond and Fred. |