bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1226 in lilypond: lilypond-book in the MinGW release is curren


From: lilypond
Subject: Re: Issue 1226 in lilypond: lilypond-book in the MinGW release is currently unusable (2.13.30?)
Date: Mon, 23 Aug 2010 17:07:33 +0000

Updates:
        Status: Fixed
        Owner: reinhold.kainhofer

Comment #3 on issue 1226 by reinhold.kainhofer: lilypond-book in the MinGW release is currently unusable (2.13.30?)
http://code.google.com/p/lilypond/issues/detail?id=1226

The filter_pipe function used os.popen3, which according to the python documentation has been deprecated since python 2.6: http://docs.python.org/library/os.html

The suggested replacement is subprocess.Popen, see also http://docs.python.org/release/2.4/lib/node238.html and http://docs.python.org/release/2.4/lib/module-subprocess.html. In windows, the subprocess module needs the msvcrt python module, which is part of the python standard lib since 2.4: http://docs.python.org/release/2.4/lib/module-msvcrt.html

Unfortunately, it seems that in GUB, python is not built with that python module, so of course the subprocess module refuses to laod.

I have now reverted the filter_pipe function to use the deprecated os.popen3. However, if we ever resolve the subprocess/msvcrt issue in Windows, we should replace all those deprecated functions by the proper "new" functions....




reply via email to

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