[cfe-dev] Need Python help in TestRunner.py
Dan Villiom Podlaski Christiansen
danchr at gmail.com
Sun Nov 8 04:11:59 PST 2009
On 8 Nov 2009, at 04:45, Daniel Dunbar wrote:
> On Mon, Nov 2, 2009 at 3:16 PM, John Thompson
> <john.thompson.jtsoftware at gmail.com> wrote:
>> Daniel,
>>
>> I'm afraid the result of this change is that instead of appending
>> to the
>> file, it overwrites the beginning of the file. This is the result in
>> ast.c.tmp (on Windows):
>
> Looks like a bug in Win32 or the subprocess module. r86437 adds a
> workaround that works for me.
Have you considered using the Python difflib[1] module? It might be
more reliable than the external dependancy…
[1] <http://docs.python.org/library/difflib.html>
--
Dan Villiom Podlaski Christiansen
danchr at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091108/eaa59a23/attachment.bin>
More information about the cfe-dev
mailing list