Skip to content

bpo-23835: Restore legacy defaults= behavior for RawConfigParser#3191

Merged
ambv merged 1 commit intopython:masterfrom
ambv:bpo-23835-raw
Aug 24, 2017
Merged

bpo-23835: Restore legacy defaults= behavior for RawConfigParser#3191
ambv merged 1 commit intopython:masterfrom
ambv:bpo-23835-raw

Conversation

@ambv
Copy link
Contributor

@ambv ambv commented Aug 22, 2017

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.

https://bugs.python.org/issue23835

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.
@ambv ambv merged commit a5fab17 into python:master Aug 24, 2017
@ambv
Copy link
Contributor Author

ambv commented Aug 24, 2017

Thanks! ✨ 🍰 ✨

GadgetSteve pushed a commit to GadgetSteve/cpython that referenced this pull request Sep 10, 2017
…hon#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.
@ambv ambv deleted the bpo-23835-raw branch July 12, 2021 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants