[New-bugs-announce] [issue6517] configparser: add possibility to escape formatstrings

Till Maas report at bugs.python.org
Sat Jul 18 22:36:39 CEST 2009


New submission from Till Maas <opensource at till.name>:

There seems to be no way to add a config item with a value containing a
formatstring without this formatstring beeing handled by configparser.

A possible way to escape the formatstrings could be to double the
%-sign, e.g.:

[foo]
bar = %%(string)s

The value of the bar item should then be "%(string)s".

----------
components: Library (Lib)
messages: 90689
nosy: till
severity: normal
status: open
title: configparser: add possibility to escape formatstrings
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6517>
_______________________________________


More information about the New-bugs-announce mailing list