[issue5741] SafeConfigParser incorrectly detects lone percent signs
Márcio Faustino <report@bugs.python.org> at psf.upfronthosting.co.za
Márcio Faustino <report@bugs.python.org> at psf.upfronthosting.co.za
Mon Apr 13 13:43:04 CEST 2009
Márcio Faustino <m.faustino at gmail.com> added the comment:
Shouldn't the "replace('%%', '')" take place before
"_interpvar_re.sub"? For example, the value "%%(test)s" should be
accepted as valid but it isn't because "_interpvar_re" has already
changed it to "%".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5741>
_______________________________________
More information about the Python-bugs-list
mailing list