]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33251: Prevent ConfigParser.items returning items present in vars. (#6446)
authorChris Bradbury <chris@binaryspanner.com>
Mon, 23 Apr 2018 19:16:17 +0000 (20:16 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 23 Apr 2018 19:16:17 +0000 (12:16 -0700)
commit1d4a733cceee237f0850b7887c2945dee707da27
tree7669a141d360b6a19d2d51ecf202701468614cc9
parent25038ecfb665bef641abf8cb61afff7505b0e008
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.
Lib/configparser.py
Lib/test/test_configparser.py
Misc/NEWS.d/next/Library/2018-04-23-18-25-36.bpo-33251.C_K-J9.rst [new file with mode: 0644]