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 SilentGhost
Recipients SilentGhost, Vignesh Rajendran
Date 2020-07-24.07:03:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595574215.47.0.788802208165.issue41379@roundup.psfhosted.org>
In-reply-to
Content
In your example you're instantiating ConfigParser with default parameters, meaning empty_lines_in_values equals True, which leads to key "a" consuming everything on the following indented lines. If you're were to specify False as the value for empty_lines_in_values, you'd see the desired behaviour.

The examples in documentation work just fine, as long as you copy them exactly. The reason they do is that there isn't a final value in the non-indented section, but only comments. In any case empty_lines_in_values is what you should be using.
History
Date User Action Args
2020-07-24 07:03:35SilentGhostsetrecipients: + SilentGhost, Vignesh Rajendran
2020-07-24 07:03:35SilentGhostsetmessageid: <1595574215.47.0.788802208165.issue41379@roundup.psfhosted.org>
2020-07-24 07:03:35SilentGhostlinkissue41379 messages
2020-07-24 07:03:35SilentGhostcreate