Till Maas <opensou...@till.name> added the comment: Afacs it is not documented to work. Here is the testcase:
#!/usr/bin/python # vim: fileencoding=utf8 import ConfigParser import tempfile file = tempfile.TemporaryFile(mode='rw+b') file.write("[s]\nf=%%(b)s\n") file.seek(0) config = ConfigParser.ConfigParser() config.readfp(file) print config.get("s", "f") file.close() ---------- status: pending -> open Added file: http://bugs.python.org/file14522/test-configparse.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com