In the spirit of my previous comment/patch (728209), I have found
some other annoyances related to running PyX in an interactive
environment. It fairly wantonly leaves files open in pyx.text,
resulting, after many iterations, in running out of open file slots. The
patch attached fixes this, as far as I can tell, along with avoiding a
DeprecationWarning in Python 2.3 related to changed handling of ints
All this does is make sure files are closed as soon as they are not
needed. I doubt that it breaks anything else.
Log in to post a comment.