Bug in ConfigParser.py
neale-news at lug.freei.net
neale-news at lug.freei.net
Fri Feb 4 12:51:41 EST 2000
This was a bug in an earlier version of Python, then it got fixed, and
now it's back. (Okay maybe it didn't ever get fixed, I might have just
made that part up.)
*** /usr/lib/python1.5/ConfigParser.py Mon Sep 13 00:14:19 1999
--- ConfigParser.py Fri Feb 4 09:48:51 2000
***************
*** 212,218 ****
depth = 0
while depth < 10: # Loop through this until it's done
depth = depth + 1
! if not string.find(value, "%("):
try:
value = value % d
except KeyError, key:
--- 212,218 ----
depth = 0
while depth < 10: # Loop through this until it's done
depth = depth + 1
! if string.find(value, "%(") != -1:
try:
value = value % d
except KeyError, key:
More information about the Python-list
mailing list