[issue33481] configparser.write() does not save comments.

David James Peters report at bugs.python.org
Sun May 13 06:26:00 EDT 2018


New submission from David James Peters <pebaudhi at gmail.com>:

The ConfigParser().write() does not save the comments; this makes using comments harder because it requires a separate demo ini file the user must be able to locate and read from without learning anything from the INI file they are using. Not Good. Pls make configparser save the comments or guide me to what I can do to fully support comments in my app. I am still reading the configparser documentation but it says its heavily customizable. Saving and loading comments is a must for my ini files.

----------
components: Extension Modules
messages: 316457
nosy: pebaudhi
priority: normal
severity: normal
status: open
title: configparser.write() does not save comments.
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33481>
_______________________________________


More information about the Python-bugs-list mailing list