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 lukasz.langa
Recipients lukasz.langa, quanyechavshuo
Date 2017-07-12.12:08:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499861293.34.0.680199050694.issue30760@psf.upfronthosting.co.za>
In-reply-to
Content
With the default ConfigParser, we're using basic interpolation, as covered by:

https://docs.python.org/3/library/configparser.html#configparser.BasicInterpolation

To not have it, set interpolation to None in the ConfigParser constructor:

    config = configparser.ConfigParser(interpolation=None)

Then percent signs will be treated like any other character. Let me know if you have further questions.
History
Date User Action Args
2017-07-12 12:08:13lukasz.langasetrecipients: + lukasz.langa, quanyechavshuo
2017-07-12 12:08:13lukasz.langasetmessageid: <1499861293.34.0.680199050694.issue30760@psf.upfronthosting.co.za>
2017-07-12 12:08:13lukasz.langalinkissue30760 messages
2017-07-12 12:08:13lukasz.langacreate