lilypond-user
[Top][All Lists]
Advanced

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

Re: What is a DeprecationWarning?


From: Mats Bengtsson
Subject: Re: What is a DeprecationWarning?
Date: Mon, 25 Aug 2003 12:36:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

The problem is solved in lilypond version 1.8, but in the
mean time, you could just open the file C:\cygwin\bin\ly2dvi and
replace the lines

try:
        import pre
        re = pre
        del pre
except ImportError:
        import re

with the single line

import re


   /Mats

Stefaan Himpe wrote:
Hi,

It is not a lilypond warning.

It is a warning issued by Python, a programming language used
to write the ly2dvi script. It gives warnings because you are
using the newest version of Python which already warns developers
for future changes.

It is best to just ignore it, and wait until the scripts
are adjusted to work with the new Python, or don't wait
and adjust them yourself :-)

Regards,
Stefaan.
Die5Willes wrote:

Hi there!
After typing "ly2dvi -P beethoven.ly" there is the following message:

"/usr/lib/python2.3/pre.py:94: DeprecationWarning: Please use the 're' module, not the 'pre' module
  DeprecationWarning)"

From there on everything seems to be okay and the .ps output looks fine so far, but:

what does that warning mean? How can I avoid it? (it's lily 1.6.11)

Thanx in advance

Stefan





_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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