[ python-Bugs-857881 ] ConfigParser bug
SourceForge.net
noreply at sourceforge.net
Mon May 17 22:28:46 EDT 2004
Bugs item #857881, was opened at 2003-12-10 17:00
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=857881&group_id=5470
Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michel Martin (mrsmile)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: ConfigParser bug
Initial Comment:
Python Version: 2.3.2c1
OS: Windows 2000
-----------------------
Hello,
I was trying to use the ConfigParser provided
with Python when I realized that there is a problem
with the case in the string passed in the Interpolation
feature.
Explicitely, test1 works but test2 doesn't. You
can see by yourself with the attachment.
===========================
[Test1]
logFullPath: c:/logs/%(logfilename)s
logFilename=test.log
[Test2]
logFullPath: c:/logs/%(logFilename)s
logFilename=test.log
===========================
Using a capital letter in %('string')s doesn't work,
even if the key is declared with a capital letter. How
could we fix this?
Thanks for your help,
Best regards,
Michel Martin
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2004-05-17 22:28
Message:
Logged In: YES
user_id=3066
I've committed a patch that fixes this on the Python
development trunk (what will become Python 2.4). The fix is
similar to SF patch #865455.
Doc/lib/libcfgparser.tex 1.35
Lib/ConfigParser.py 1.64
Lib/test/test_cfgparser.py 1.21
----------------------------------------------------------------------
Comment By: Jordan R McCoy (jrm)
Date: 2003-12-24 12:28
Message:
Logged In: YES
user_id=813983
See patch request #865455 for an explanation of the problem
and a patch solution.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=857881&group_id=5470
More information about the Python-bugs-list
mailing list