Message255305
This strikes me as an overt bug. .add_section should add one new empty section, not a section with an item and a second section. Since a section name cannot contain \n, I would agree that passing a string containing \n should raise ValueError("Section names cannot contain newlines."). Since anything else without ']' is valid and since even that can be accommodated with a custom section name re, that is the only check that should be done. |
|
Date |
User |
Action |
Args |
2015-11-24 23:42:09 | terry.reedy | set | recipients:
+ terry.reedy, lukasz.langa, spaceone |
2015-11-24 23:42:09 | terry.reedy | set | messageid: <1448408529.44.0.485560612364.issue25723@psf.upfronthosting.co.za> |
2015-11-24 23:42:09 | terry.reedy | link | issue25723 messages |
2015-11-24 23:42:09 | terry.reedy | create | |
|