This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chrBrd
Recipients chrBrd
Date 2018-04-22.11:20:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524396036.58.0.682650639539.issue33333@psf.upfronthosting.co.za>
In-reply-to
Content
According to `ConfigParser.items` docs:

> When section is not given, return a list of section_name, section_proxy pairs, including DEFAULTSECT.

> Otherwise, return a list of name, value pairs for the options in the given section. Optional arguments have the same meaning as for the get() method.

https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.items

However due to `d = self._defaults.copy()` on line 843 of configparser.py the default section is always included, even when a section argument is specified.
History
Date User Action Args
2018-04-22 11:20:36chrBrdsetrecipients: + chrBrd
2018-04-22 11:20:36chrBrdsetmessageid: <1524396036.58.0.682650639539.issue33333@psf.upfronthosting.co.za>
2018-04-22 11:20:36chrBrdlinkissue33333 messages
2018-04-22 11:20:36chrBrdcreate