Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix links to old SF bugs (#95648) | Serhiy Storchaka | 2022-08-04 | 1 | -2/+2 |
| | |||||
* | gh-89336: Remove configparser APIs that were deprecated for 3.12 (#92503) | Gregory P. Smith | 2022-06-21 | 1 | -37/+5 |
| | | | | | https://github.com/python/cpython/issue/89336: Remove configparser 3.12 deprecations. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-90765: configparser test: Catch deprecation warning (#91480) | Hugo van Kemenade | 2022-05-02 | 1 | -1/+3 |
| | |||||
* | bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in ↵ | Hugo van Kemenade | 2022-04-05 | 1 | -0/+8 |
| | | | | docs since 3.2 (GH-30927) | ||||
* | bpo-41086: Add exception for uninstantiated interpolation (configparser) ↵ | Brian Faherty | 2022-02-17 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-21062) * Add exception for uninstantiated interpolation (configparser) The current feedback when users try to pass an uninstantiated interpolation into a ConfigParser is an error message that does not help users solve the problem. This current error of `TypeError: before_set() missing 1 required positional argument: 'value'` does not display until the parser is used, which usually results in the assumption that instantiation of the parser was done correctly. The new exception of InterpolationTypeError, will be raised on the line where the ConfigParser is instantiated. This will result in users see the line that has the error in their backtrace for faster debugging. There have been a number of bugs created in the issue tracker, which could have been addressed by: https://bugs.python.org/issue26831 and https://bugs.python.org/issue26469 * 📜🤖 Added by blurb_it. * Replace custom Error with TypeError Per feedback from @iritkatriel, the custom InterpolationTypeError has been dropped in favour of a TypeError with a custom message, and the unittests have been expanded. * More verbose message Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45173: Keep configparser deprecations until Python 3.12 (GH-30952) | Hugo van Kemenade | 2022-02-02 | 1 | -0/+28 |
| | | | | | | | * Revert "bpo-45173 Remove configparser deprecations" This reverts commit df2284bc416dcccba1125b12af4499c45baabe4f. * bpo-45173: Note these configparser deprecations will be removed in 3.12 | ||||
* | bpo-45173 Remove configparser deprecations (GH-28292) | Hugo van Kemenade | 2021-09-13 | 1 | -28/+0 |
| | | | | | | | In the configparser module, these have been deprecated since Python 3.2: * the SafeConfigParser class, * the filename property of the ParsingError class, * the readfp method of the ConfigParser class, | ||||
* | bpo-38741: Definition of multiple ']' in header configparser (GH-17129) | jsnklln | 2021-07-13 | 1 | -0/+7 |
| | | | | Co-authored-by: Jason Killen <jason.killen@windsorcircle.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) | Inada Naoki | 2021-04-04 | 1 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | * test_asyncio * test_bz2 * test_math * test_cmath * test_cmd_line * test_cmd_line_script * test_compile * test_contextlib * test_profile * ctypes/test/test_find * test_multiprocessing * test_configparser * test_csv * test_dbm_dumb * test_decimal * test_difflib * os.fdopen() calls io.text_encoding() to emit EncodingWarning for right place. | ||||
* | bpo-41521: Rename blacklist parameter to not_exported (GH-21824) | Victor Stinner | 2020-08-17 | 1 | -2/+1 |
| | | | | Rename "blacklist" parameter of test.support.check__all__() to "not_exported". | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21449) | Hai Shi | 2020-08-03 | 1 | -3/+4 |
| | |||||
* | bpo-32108: Don't clear configparser values if key is assigned to itself ↵ | Cheryl Sabella | 2018-06-12 | 1 | -0/+6 |
| | | | | (GH-7588) | ||||
* | bpo-33504: Migrate configparser from OrderedDict to dict. (#6819) | John Reese | 2018-06-05 | 1 | -1/+1 |
| | | | | | | 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 | -4/+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 | -0/+17 |
| | |||||
* | bpo-23835: Restore legacy defaults= behavior for RawConfigParser (#3191) | Łukasz Langa | 2017-08-24 | 1 | -9/+18 |
| | | | | | | | 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 | -0/+9 |
| | | | | * Enforce that configparser defaults are strings * Update test_configparser.py | ||||
* | bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) | David Ellis | 2017-03-03 | 1 | -0/+11 |
| | |||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+0 |
| | |||||
* | Merge 3.5, fix for #24142 | Łukasz Langa | 2016-11-26 | 1 | -0/+24 |
|\ | |||||
| * | Fixes #24142: [configparser] always join multiline values to not leave the ↵ | Łukasz Langa | 2016-11-26 | 1 | -0/+24 |
| | | | | | | | | parser in an invalid state | ||||
* | | Issue #27106: Add test for configparser.__all__ | Martin Panter | 2016-09-09 | 1 | -0/+6 |
|/ | | | | | Patch by Jacek Kołodziej. The Error class is deliberately omitted because it is a generic name and of limited use. | ||||
* | Issue #21159: Improve message in configparser.InterpolationMissingOptionError. | Robert Collins | 2015-08-13 | 1 | -3/+4 |
|\ | | | | | | | Patch from Łukasz Langa. | ||||
| * | Issue #21159: Improve message in configparser.InterpolationMissingOptionError. | Robert Collins | 2015-08-13 | 1 | -3/+4 |
| | | | | | | | | Patch from Łukasz Langa. | ||||
* | | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -85/+97 |
|\ \ | |/ | |||||
| * | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -85/+97 |
| | | |||||
* | | Closes #18159: ConfigParser getters not available on SectionProxy | Łukasz Langa | 2014-09-15 | 1 | -0/+223 |
| | | |||||
* | | Fix #19546: onfigparser exceptions expose implementation details. Patch by ↵ | Łukasz Langa | 2014-09-04 | 1 | -0/+52 |
| | | | | | | | | Claudiu Popa. | ||||
* | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
|/ | | | | fully qualified class names of Python implemented classes. | ||||
* | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -2/+1 |
| | |||||
* | Fixed issue #18260: configparser TypeError on source name specified as bytes | Łukasz Langa | 2013-06-23 | 1 | -11/+63 |
| | |||||
* | #16925: test_configparser now works with unittest test discovery. Patch by ↵ | Ezio Melotti | 2013-01-11 | 1 | -35/+13 |
| | | | | Zachary Ware. | ||||
* | configparser: preserve section order when using `__setitem__` (issue #16820) | Łukasz Langa | 2013-01-01 | 1 | -0/+4 |
| | |||||
* | Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. | Łukasz Langa | 2012-12-31 | 1 | -0/+28 |
| | |||||
* | Merged `parser.clean()` fix (issue #16820) from 3.2. | Łukasz Langa | 2012-12-31 | 1 | -0/+27 |
| | |||||
* | Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs | Łukasz Langa | 2012-07-07 | 1 | -0/+37 |
| | | | | earlier without preceding space. | ||||
* | #13760: picklability tests for configparser exceptions | Łukasz Langa | 2012-01-20 | 1 | -0/+145 |
| | |||||
* | Merged minor cleanups from 3.2. | Łukasz Langa | 2011-04-29 | 1 | -1/+1 |
| | |||||
* | Merged solution for #11324 from 3.2. | Łukasz Langa | 2011-04-28 | 1 | -0/+38 |
| | |||||
* | Merged styling updates for #11670 from 3.2. | Łukasz Langa | 2011-04-28 | 1 | -7/+7 |
| | |||||
* | Merged solution for #11858 from 3.2. | Łukasz Langa | 2011-04-28 | 1 | -3/+67 |
| | |||||
* | Merged #11670 from 3.2 | Łukasz Langa | 2011-04-27 | 1 | -0/+54 |
| | |||||
* | Have the test filename match the module filename. | Raymond Hettinger | 2011-02-22 | 1 | -0/+1342 |