Issue 11858: configparser.ExtendedInterpolation and section case (original) (raw)
Created on 2011-04-16 16:48 by ciasoms, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
configparser.diff | ciasoms,2011-04-16 16:48 |
Messages (7) | ||
---|---|---|
msg133897 - (view) | Author: Pink (ciasoms) | Date: 2011-04-16 16:48 |
configparser.ExtendedInterpolation in Python 3.2 has a bug that it will convert the section name in the interpolation to lowercase, and lead to an exception of NoSectionError if the section name has letters in uppercase. In fact it just cannot pass the test of the second example in the doc (http://docs.python.org/py3k/library/configparser.html#configparser.ExtendedInterpolation). The attached patch should fix it. | ||
msg133982 - (view) | Author: Łukasz Langa (lukasz.langa) * ![]() |
Date: 2011-04-18 17:09 |
Thanks for the catch. I'll add some tests and push it. | ||
msg134662 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-04-28 09:00 |
New changeset 57c076ab4bbd by Łukasz Langa in branch '3.2': Closes #11858: configparser.ExtendedInterpolation and section case. http://hg.python.org/cpython/rev/57c076ab4bbd | ||
msg134663 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-04-28 09:01 |
New changeset 2afaef6cda8a by Łukasz Langa in branch 'default': Merged solution for #11858 from 3.2. http://hg.python.org/cpython/rev/2afaef6cda8a | ||
msg134664 - (view) | Author: Łukasz Langa (lukasz.langa) * ![]() |
Date: 2011-04-28 09:03 |
Pink, please give your name so I can include you in Misc/ACKS. | ||
msg134667 - (view) | Author: Pink (ciasoms) | Date: 2011-04-28 11:00 |
Oh, all right :) My name is Yuxiao Zeng. 2011/4/28 Łukasz Langa <report@bugs.python.org>: > > Łukasz Langa <lukasz@langa.pl> added the comment: > > Pink, please give your name so I can include you in Misc/ACKS. > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue11858> > _______________________________________ > | ||
msg134677 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-04-28 14:02 |
New changeset 17b4378689e6 by Łukasz Langa in branch '3.2': Added Yuxiao Zeng for finding and resolving #11858. Thanks! http://hg.python.org/cpython/rev/17b4378689e6 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:16 | admin | set | github: 56067 |
2011-04-28 14:02:47 | python-dev | set | messages: + |
2011-04-28 11:00:51 | ciasoms | set | messages: + |
2011-04-28 09:03:13 | lukasz.langa | set | messages: + |
2011-04-28 09:01:28 | python-dev | set | messages: + |
2011-04-28 09:00:17 | python-dev | set | status: open -> closednosy: + python-devmessages: + resolution: fixedstage: test needed -> resolved |
2011-04-19 15:34:38 | eric.araujo | set | nosy: + eric.araujostage: test neededversions: + Python 3.3 |
2011-04-18 17:09:58 | lukasz.langa | set | messages: + |
2011-04-18 16:56:56 | lukasz.langa | set | assignee: lukasz.langa |
2011-04-16 16:48:31 | ciasoms | create |