[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-02-23 Thread Facundo Batista
Facundo Batista added the comment: Applied in r60976. Thank you all! -- nosy: +facundobatista resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-02-23 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I tested the patch and works very well. I modified "Misc/NEWS" file beacuse the change wasn't reported and I uploaded diff file (NEWS.diff). -- nosy: +humitos Added file: http://bugs.python.org/file9492/NEWS.diff __ Tr

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-15 Thread Raghuram Devarakonda
Changes by Raghuram Devarakonda: -- keywords: +easy, patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-10 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: I should add that the patch disallows not only 'DEFAULT' but all other variants such as "Default" and "default". I am not entirely sure if my description of this behaviour as "DEFAULT or any of it's case-insensitive variants". _

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-10 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: Please see cfgparser.diff for the fix. It has tests and doc change. -- nosy: +draghuram Added file: http://bugs.python.org/file9118/cfgparser.diff __ Tracker <[EMAIL PROTECTED]> __

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-10 Thread Christian Heimes
Christian Heimes added the comment: It's an easy task for the bug day unless you can provide a patch and an unit test earlier. -- nosy: +tiran priority: -> normal __ Tracker <[EMAIL PROTECTED]> _

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-09 Thread Guido van Rossum
Guido van Rossum added the comment: Care to provide a patch? Otherwise this may be a good bug day candidate. The next one's Jan 19. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-01-09 Thread Tim Lesher
New submission from Tim Lesher: ConfigParser doesn't prevent "manually" adding a section named DEFAULT; however, doing so creates a duplicate, inaccessible [DEFAULT] section in the config file: >>> import sys, ConfigParser >>> c = ConfigParser.ConfigParser() >>> c.add_section('DEFAULT') >>>