George Fischhof added the comment: Hi Berker,
It is true, I agree ;-) But this way ConfigParser works different than xml parsers (for example elementtree from system lib), as when I use elementtree.write it wil create a file with full and valid xml content. But ConfigParser is "able" ;-) to create file with invalid content (for example (this was my findings) creates duplicated sections. So it could be a feature request for ConfigParser: It should be able to write config to a given filename, not only into file object. (Like xml parser) Kind regards, George ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28714> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com