On Mon, Aug 17, 2009 at 9:34 AM, Tarek Ziadé<[email protected]> wrote:
> Following the discussion on the format of the static metadata file,
> it's evident for me that it has to be a ConfigParser file.

Big +1

> I am proposing the current scheme (applying it in this precise order):
>
> 1/ if the value contains '\n' signs, it's a  list and values are
> splitted using \n, then each element is left stripped
>   (not sure yet if we want to right strip them too)
>
> 2/ if the value contains ',' signs, it's a list and values are
> splitted using ','    (not sure yet if we want to strip them)
> 3/ else, it's a value

I'd generally prefer a full strip() on list entries. People tend to
put trailing whitespace into files without noticing it too much. The
number of whitespace fanatics is certainly larger in Python cycles,
but not among casual developers.

Hanno
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to