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 spaceone
Recipients lukasz.langa, miloskomarcevic, spaceone, terry.reedy, xflr6
Date 2015-11-24.12:32:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448368357.41.0.310155394869.issue20923@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO your rejection is stupid. User input should always be validated.

At least a ValueError should be raised if add_section() is called with a string containing ']\x00\n['. As this will always create a broken configuration.

Otherwise ConfigParser cannot be used to write new config files without having deeper knowledge about the implementation.
History
Date User Action Args
2015-11-24 12:32:38spaceonesetrecipients: + spaceone, terry.reedy, lukasz.langa, miloskomarcevic, xflr6
2015-11-24 12:32:37spaceonesetmessageid: <1448368357.41.0.310155394869.issue20923@psf.upfronthosting.co.za>
2015-11-24 12:32:37spaceonelinkissue20923 messages
2015-11-24 12:32:37spaceonecreate