[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Łukasz Langa
Łukasz Langa added the comment: This specific config format you're discussing strikes me as error prone and barely useful. With the use case you've given I cannot justify introducing support for it in the standard library. Remember that each switch, variant, however obscure and rarely used, i

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab added the comment: It may be impelmented as configparser.ConfigParser(strict=yes|no|multiline), so no existing configs will be broken. -- ___ Python tracker ___ __

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Brian Curtin
Brian Curtin added the comment: This would break existing config files, including some of my own. It would also require that you have some end delimiter on every item in order to handle the event that someone duplicates options, otherwise the following would likely behave badly in your appli

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab added the comment: There is some [leagcy] proprietary soft-switches, which uses this config format. Personally I use [hacked] configparser to process Mera systems MVTS/SIP-HIT configs in this format, for example. -- ___ Python tracker

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Could you tell us more about the use cases? Are you aware of some config files using this form? -- nosy: +eric.araujo title: Allow configparser to process suplicate options -> Add support for duplicate options in configparser __