[Distutils] Proposed change to buildout configuration-file handling
Jim Fulton
jim at zope.com
Mon Mar 7 15:03:25 CET 2011
On Mon, Mar 7, 2011 at 6:42 AM, Łukasz Langa <lukasz at langa.pl> wrote:
>
> Wiadomość napisana przez Jim Fulton w dniu 2011-03-07, o godz. 12:35:
>
> On Mon, Mar 7, 2011 at 5:23 AM, Éric Araujo <merwok at netwok.org> wrote:
>
> Le 06/03/2011 16:34, Jim Fulton a écrit :
>
> An annoyance in buildout configurations, resulting from [its] use of
>
> ConfigParser, is that configuration data lines are stripped of leading
>
> spaces.
>
> configparser is much better in 3.2 (I'm cc'ing the author of those
>
> improvements and new module maintainer), and I already suggested a
>
> standalone release on PyPI for older Pythons. It would be nice to work
>
> out whether your needs could be addressed directly at the source before
>
> being forced to fork or monkey-patch.
>
> 3.2 is irrelevant.
>
> While I plan to port buildout to Python 3 at PyCon, I intent to
> maintain buildout on Python 2 for some time, so there's really no
> point in depending on changes made in 3.2.
>
>
> If that changes anything, you can expect a 2.4+ compatible version soon (how
> soon depends on when you need it), much like unittest2 ports Python 3.2
> unittest down.
How so? As a pypi release?
I'd consider it under those circumstances. I'll take a look at the
new version before writing my own then (although writing my own is a
pretty trivial exercise of copying the existing _read method and
making a few minor tweaks).
Jim
--
Jim Fulton
http://www.linkedin.com/in/jimfulton
More information about the Distutils-SIG
mailing list