[Distutils] Better version pinning in buildout (buildout-versions)

Fred Drake fdrake at acm.org
Tue Jan 8 14:48:34 CET 2013

On Tue, Jan 8, 2013 at 8:30 AM, Marius Gedminas <marius at 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


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

More information about the Distutils-SIG mailing list