Message374162
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. |
|
Date |
User |
Action |
Args |
2020-07-24 07:03:35 | SilentGhost | set | recipients:
+ SilentGhost, Vignesh Rajendran |
2020-07-24 07:03:35 | SilentGhost | set | messageid: <1595574215.47.0.788802208165.issue41379@roundup.psfhosted.org> |
2020-07-24 07:03:35 | SilentGhost | link | issue41379 messages |
2020-07-24 07:03:35 | SilentGhost | create | |
|