This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkaufman
Recipients jkaufman
Date 2009-03-03.15:14:31
SpamBayes Score 0.007145708
Marked as misclassified No
Message-id <1236093276.38.0.814047349626.issue5412@psf.upfronthosting.co.za>
In-reply-to
Content
This is a patch against the configparser in the cvs version of 3.1 to
support [] notation:

>>> import configparser_patched
>>> config = configparser_patched.SafeConfigParser()
>>> config.add_section("spam")
>>> config["spam", "eggs"] = "yummy"
>>> config["spam", "eggs"]
'yummy'
>>> del config["spam", "eggs"]
>>> 

The functions are just syntactic sugar for the simple forms of "get",
"set", and "remove_option".
History
Date User Action Args
2009-03-03 15:14:36jkaufmansetrecipients: + jkaufman
2009-03-03 15:14:36jkaufmansetmessageid: <1236093276.38.0.814047349626.issue5412@psf.upfronthosting.co.za>
2009-03-03 15:14:34jkaufmanlinkissue5412 messages
2009-03-03 15:14:33jkaufmancreate