Issue487307
Created on 2001-11-30.00:26:15 by xoltar, last changed 2003-10-24.00:09:01 by kevinbutler.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-11-30 00:26:15 | xoltar | create |
Created on 2001-11-30.00:26:15 by xoltar, last changed 2003-10-24.00:09:01 by kevinbutler.
Messages | |||
---|---|---|---|
msg490 (view) | Author: Bryn Keller (xoltar) | Date: 2001-11-30.00:26:15 | |
ConfigParser.get under 2.1a3 usually drops the last character of the value retrieved. So for a file like: [foo] bar=baz myconfigparser.get('foo', 'bar') will return 'baz' under Python, and 'ba' under Jython. I say 'usually', because it worked fine when the last character was a backslash. |
|||
msg491 (view) | Author: Finn Bock (bckfnn) | Date: 2001-12-02.14:41:55 | |
Logged In: YES user_id=4201 I can't reproduce this problem with either 2.1a3 or CVS on windows. What platform are you using? Please write a small example script and attach it and the config file to this bug report. |
|||
msg492 (view) | Author: Kevin J. Butler (kevinbutler) | Date: 2003-10-24.00:09:01 | |
Logged In: YES user_id=117665 I also can't reproduce the problem, using 2.2a0 or 2.1 on linux or windows. For reference, here's the test code: from ConfigParser import ConfigParser myparser = ConfigParser() myparser.read( "data" ) print myparser.get( "foo", "bar" ) |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-11-30 00:26:15 | xoltar | create |
Supported by Python Software Foundation,
Powered by Roundup