[issue33333] ConfigParser.items returns items present in `DEFAULTSECT` when section argument given.

Chris Bradbury report at bugs.python.org
Sun Apr 22 14:03:14 EDT 2018


Chris Bradbury <viff3000 at gmail.com> added the comment:

The fix for the actual issue is quite trivial (and should fix bpo-33251 at the same time). However `ExtendedInterpolation::_interpolate_some` relies on the options from the default section always being returned.

Not only does this make the fix more complicated, it also makes me worry that aligning behaviour to match the documentation (which I personally feel makes more sense) will breake backwards compatibility.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33333>
_______________________________________


More information about the Python-bugs-list mailing list