Message213609
This is invalid as a bug report, unless one considers that the presence of '_foo]' on the same line should have raised an exception. As an enhancement request, I think it should be rejected.
ConfigParser configuration language is based on msdos/windows .ini files. Similar files are used on windows. "A configuration file consists of sections, each led by a [section] header," That and "The section name appears on a line by itself, in square brackets ([ and ])." from
https://en.wikipedia.org/wiki/.ini#Sections
mark [] as delimiters. I am rather sure that no other language/system allows square brackets in the section name. If you know differently, please present evidence. Unescaped delimiters are generally not allowed between delimiters unless there is a semantic reason to have nesting, and there is not one here. Parentheses, angle brackets, and curly brackets (and more from the rest of Unicode) are available to use. The request here is similar to asking that
'abc'cd'
be parsed as one string. Parsing nested constructs is much more complicated than parsing flat constructs. |
|
Date |
User |
Action |
Args |
2014-03-15 01:16:38 | terry.reedy | set | recipients:
+ terry.reedy, lukasz.langa, miloskomarcevic |
2014-03-15 01:16:37 | terry.reedy | set | messageid: <1394846197.97.0.650068118273.issue20923@psf.upfronthosting.co.za> |
2014-03-15 01:16:37 | terry.reedy | link | issue20923 messages |
2014-03-15 01:16:35 | terry.reedy | create | |
|