Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-17 Thread Trent Nelson
On Apr 16, 2012, at 5:29 AM, Willmer, Alex (PTS) wrote: > Hello, > > I've been working on an full text search plugin for Trac. At initial setup > this indexes the entire Subversion repository by reading every node of every > version. During testing we discovered that the indexer was running ou

Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-16 Thread Alex Willmer
Ulrich Eckhardt dominolaser.com> writes: > Am 16.04.2012 11:29, schrieb Willmer, Alex (PTS): > > To work around this I have monkey patched a > > Stream.close() method that calls svn_stream_close, which is used > > in a try/finally block. > > Disclaimer: I'm not really familiar with the SVN/Python

Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-16 Thread Ulrich Eckhardt
Am 16.04.2012 11:29, schrieb Willmer, Alex (PTS): > I've been working on an full text search plugin for Trac. Nice! ;) > At initial setup this indexes the entire Subversion repository by > reading every node of every version. During testing we discovered > that the indexer was running out of file