[sorry for mumbling to myself too much] On Sun, Dec 13, 2009 at 06:53:57PM +0100, Matthias Kilian wrote: [...] > - out = file (path + '.ly', 'w') > + out = tempfile.NamedTemporaryFile(mode = 'w', suffix = '.lytmp', > + dir = directory, delete = False)
Unfortunately, this doesn't work with python < 2.6 (because the `delete' parameter is new since python-2.6). But if you gyys think that the approach of writing (and later renaming) temporary files may help, i'll make a better diff tomorrow. Ciao, Kili _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel