Skip to content

gh-153855: Fix BasicInterpolation crash on None-valued interpolation reference. - #153857

Open
abdoulrasheed wants to merge 2 commits into
python:mainfrom
abdoulrasheed:gh-153855
Open

gh-153855: Fix BasicInterpolation crash on None-valued interpolation reference.#153857
abdoulrasheed wants to merge 2 commits into
python:mainfrom
abdoulrasheed:gh-153855

Conversation

@abdoulrasheed

@abdoulrasheed abdoulrasheed commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

BasicInterpolation interpolated a value-less option (allow_no_value=True) into a TypeError; it now resolves to empty, like ExtendedInterpolation.

Comment thread Lib/test/test_configparser.py Outdated
Comment thread Lib/configparser.py Outdated
Comment thread Misc/NEWS.d/next/Library/2026-07-17-18-53-45.gh-issue-153855.h6YZOX.rst Outdated

@sirosen sirosen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making those changes, I think this looks good!

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.

2 participants