Re: [matplotlib-devel] Filehandle leaks in font_manager.py

2007-03-22 Thread Jouni K . Seppänen
"Edin Salkovic" <[EMAIL PROTECTED]> writes: > I would just suggest using open() instead of file(), but this is a > general Python tip :) > > Everything else seems OK. Thanks, committed. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [matplotlib-devel] Filehandle leaks in font_manager.py (was: PDF backend problem)

2007-03-13 Thread Edin Salkovic
I would just suggest using open() instead of file(), but this is a general Python tip :) Everything else seems OK. Best, Edin On 3/13/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote: > [Moving to the devel list.] > > Here's a patch for font_manager.py to close opened files. Could > somebody revi