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 terry.reedy
Recipients lukasz.langa, miloskomarcevic, terry.reedy
Date 2014-03-15.01:16:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394846197.97.0.650068118273.issue20923@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-03-15 01:16:38terry.reedysetrecipients: + terry.reedy, lukasz.langa, miloskomarcevic
2014-03-15 01:16:37terry.reedysetmessageid: <1394846197.97.0.650068118273.issue20923@psf.upfronthosting.co.za>
2014-03-15 01:16:37terry.reedylinkissue20923 messages
2014-03-15 01:16:35terry.reedycreate