Woko
45d75faa72
fix typo in configparser doc (GH-12154)
2019-03-03 18:23:19 -08:00
Zackery Spytz
e45473e3ca
bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123)
...
Switch "list" with "iterable" to match with the implementation.
2018-09-29 10:15:55 -06:00
Cheryl Sabella
33cd058f21
bpo-32108: Don't clear configparser values if key is assigned to itself (GH-7588)
2018-06-12 13:37:51 -07:00
Łukasz Langa
214f18e49f
bpo-33802: Do not interpolate in ConfigParser while reading defaults (GH-7524)
...
This solves a regression in logging config due to changes in BPO-23835.
2018-06-08 04:02:48 -07:00
John Reese
3a5b0d8988
bpo-33504: Migrate configparser from OrderedDict to dict. ( #6819 )
...
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.
2018-06-05 16:31:33 -07:00
Chris Bradbury
1d4a733cce
bpo-33251: Prevent ConfigParser.items returning items present in vars. ( #6446 )
...
* 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.
2018-04-23 12:16:17 -07:00
Vincent Michel
e314853d57
bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420)
2017-11-02 15:47:04 +03:00
Łukasz Langa
a5fab17fc1
bpo-23835: Restore legacy defaults= behavior for RawConfigParser ( #3191 )
...
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.
2017-08-24 09:43:53 -07:00
James Tocknell
44e6ad8734
bpo-23835: Enforce that configparser defaults are strings ( #2558 )
...
* Enforce that configparser defaults are strings
* Update test_configparser.py
2017-08-21 15:46:30 -07:00
Serhiy Storchaka
5affd23e6f
bpo-29762: More use "raise from None". ( #569 )
...
This hides unwanted implementation details from tracebacks.
2017-04-05 09:37:24 +03:00
David Ellis
85b8d01c91
bpo-29623: Make PathLike objects work with ConfigParser.read() ( #242 )
2017-03-03 20:14:27 +03:00
Łukasz Langa
47a9a4beda
Fixes #24142 : [configparser] always join multiline values to not leave the parser in an invalid state
2016-11-26 14:00:39 -08:00
Robert Collins
f7a92673ab
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:47:41 +12:00
Robert Collins
ac37ba0742
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:11:35 +12:00
Łukasz Langa
dfdd2f7ef8
Closes #18159 : ConfigParser getters not available on SectionProxy
2014-09-15 02:08:41 -07:00
Łukasz Langa
949053bff2
Fix #19546 : onfigparser exceptions expose implementation details. Patch by Claudiu Popa.
2014-09-04 01:36:33 -07:00
Serhiy Storchaka
a26b3f183d
Issue #20363 . Fixed BytesWarning triggerred by test suite.
...
Patch by Berker Peksag.
2014-02-06 22:52:23 +02:00
Serhiy Storchaka
bc27a050a7
Issue #20363 . Fixed BytesWarning triggerred by test suite.
...
Patch by Berker Peksag.
2014-02-06 22:49:45 +02:00
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