Petr Mladek <[EMAIL PROTECTED]> 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)^(?!@c)(?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 <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to