On Tue, Jan 8, 2013 at 8:30 AM, Marius Gedminas <mar...@pov.lt> wrote:
> Yes.  Better than appending version pins to an unrelated section, where
> they would be silently ignored as unknown option values.

While buildout itself would be happy with this, it could cause problems
for tools that use configparser to parse the files: the "strict" mode
introduced in Python 3.2 raises an exception if a section is found in a
file multiple times (even if the keys don't overlap).

While this could be said to be a non-issue (and it's not clearly
significant), it's just a stumbling block for anyone working on related
tools, especially if compatibilty with both Python 2 & 3 is desired.
ConfigParser/configparser remain the dominant parsing library for INI
files.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at acm.org>
"A person who won't read has no advantage over one who can't read."
   --Samuel Langhorne Clemens
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to