Issue 33481: configparser.write() does not save comments. (original) (raw)
Issue33481
Created on 2018-05-13 10:26 by pebaudhi, last changed 2022-04-11 14:59 by admin.
Messages (2) | ||
---|---|---|
msg316457 - (view) | Author: David James Peters (pebaudhi) | Date: 2018-05-13 10:25 |
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. | ||
msg316497 - (view) | Author: Martin Panter (martin.panter) * ![]() |
Date: 2018-05-14 09:43 |
Looks like Issue 1410680 has a new function to merge comments with new config values (among other things). |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:00 | admin | set | github: 77662 |
2018-05-14 09:43:38 | martin.panter | set | nosy: + martin.pantermessages: + |
2018-05-13 11:26:58 | r.david.murray | set | nosy: + lukasz.langa |
2018-05-13 10:26:00 | pebaudhi | create |