lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond and python-2.2


From: Petr Mladek
Subject: lilypond and python-2.2
Date: Wed, 16 Jan 2002 17:50:53 +0100

Hello,

I had problem to compile lilypond-1.4.10.tar.bz2 with new
Python-2.2.tar.bz2.

You already found the critical line in lilypond-book.py:
# pyton2.2b2 barfs on this
                 'lilypond-block': 
r"""(?m)^(address@hidden)(?P<match>(?s)(?P<match>@lilypond(\[(?P<options>.*?)\])?\s(?P<code>.*?)@end
 
lilypond\s))""",


I found the equivalent code in python and a new check was added there.
I think that the pattern for reqular expresison can not contains 
the same identifier <match> two times. And this bug is checked now
by python. It is correct and logical.

Small patch is attached. lilypond-book.py works now. Unfortunateely I have 
not assurance that the fix is correct.

-- 
With greetings,

Petr Mladek
software developer
---------------------------------------------------------------------  
SuSE CR, s.r.o.                             e-mail: address@hidden
Drahobejlova 27                             tel:+420 2 9654 2373 
190 00 Praha 9                              fax:+420 2 9654 2374   
Ceska republika                             http://www.suse.cz    

Attachment: lilypond-1.4.10-python.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]