[ python-Bugs-857881 ] ConfigParser bug

SourceForge.net noreply at sourceforge.net
Mon May 17 20:47:42 EDT 2004


Bugs item #857881, was opened at 2003-12-10 17:00
Message generated for change (Settings changed) 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: Open
Resolution: None
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: 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