[LLVMdev] configparser and ConfigParser are different

Geoffrey Irving irving at naml.us
Wed Nov 6 10:54:32 PST 2013


Okay, I've traced it to a bug in configparser, which on my python
2.7.4 system is a backport of configparser from python 3.  Here is a
clean patch that works around the problem.

Geoffrey

On Wed, Nov 6, 2013 at 10:24 AM, Geoffrey Irving <irving at naml.us> wrote:
> LLVM builds with me on the release_33 branch, but fails on trunk.  I
> bisected the problem to this commit:
>
> commit b49fb7bcd5001567d2da06f6a6e1c7ba79649e1b
> Author: Daniel Dunbar <daniel at zuster.org>
> Date:   Wed Aug 14 23:15:39 2013 +0000
>
>     [llvm-build] Make Py3 compatible.
>
>     git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188424
> 91177308-0d34-0410-b5e6-96231b3b80d8
>
> Specifically, the problem is that configparser and ConfigParser
> apparently expose subtly different interfaces.  Indeed, the attached
> patch fixes the problem for me (with python 2.7.4).  I haven't yet
> investigated how the two modules are different, and obviously this
> isn't the right patch.
>
> More investigation coming up.
>
> Geoffrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-llvm-build-Work-around-a-bug-in-the-backported-confi.patch
Type: text/x-patch
Size: 1192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131106/1b129fd8/attachment.bin>


More information about the llvm-dev mailing list