diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-07-10 18:11:00 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-07-10 18:11:00 (GMT) |
commit | 417c489defd33ceb4a3cb76efaf4975ee886221e (patch) | |
tree | 1a51f55578f47ba1f181b3b3f49ed81a7550ce06 /Python/pythonmain.c | |
parent | 3e3175b5e7cfdb5ad1ba087a5f0b01e414cbad40 (diff) | |
download | cpython-417c489defd33ceb4a3cb76efaf4975ee886221e.zip cpython-417c489defd33ceb4a3cb76efaf4975ee886221e.tar.gz cpython-417c489defd33ceb4a3cb76efaf4975ee886221e.tar.bz2 |
Give ConfigParser the capability to set as well as read options, and to write
a representation of the configuration state in .ini format that can be read
back in by a future read() call. Thus this class is now a back end
for .ini editors as well as parsers.
This patch is complete and tested, but exposes a bug in the ConfigParser
implementation which I have not yet fixed. Because case information is
discarded during parsing, the output of write() has its case smashed.
I wrote this for a SourceForge interface script called forgetool.
Documentation for the new entry points included.
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions