lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond and python-2.2


From: Jan Nieuwenhuizen
Subject: Re: lilypond and python-2.2
Date: 16 Jan 2002 18:17:25 +0100

Petr Mladek <address@hidden> writes:

> 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.

Yes, I think the problem was that python 1.5 doesn't like the (this?)
fix for python-2.2.

So, I'll have to re-check this, but thanks anyway, of course.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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