Re: Pool usage in Python bindings

2014-10-08 Thread Philip Martin
Alexey Neyman writes: > PS. I use svn_ra_session_t as an example where a semi-permanent > allocation is necessary. However, I couldn't find the interface > that destroys/closes the svn_ra_session_t. Is it correct that the > svn_ra_session_t is always destroyed by destroying the corresponding > se

Re: Pool usage in Python bindings

2014-10-08 Thread Philip Martin
Alexey Neyman writes: > On Wednesday, October 08, 2014 07:56:50 AM Daniel Shahaf wrote: >> >> You said you had two approaches, but you only list one? > > Err, was the email truncated in your mailbox somehow? The mail I received was also truncated. -- Philip Martin | Subversion Committer WANdi

Re: Pool usage in Python bindings

2014-10-08 Thread Daniel Shahaf
Alexey Neyman wrote on Wed, Oct 08, 2014 at 01:25:37 -0700: > On Wednesday, October 08, 2014 07:56:50 AM Daniel Shahaf wrote: > > Alexey Neyman wrote on Tue, Oct 07, 2014 at 17:27:09 -0700: > > > would be invoked as: > > >// C > > >res = svn_stream_open_readonly(&stream, "path", > > > >

Re: Pool usage in Python bindings

2014-10-08 Thread Alexey Neyman
On Wednesday, October 08, 2014 07:56:50 AM Daniel Shahaf wrote: > Alexey Neyman wrote on Tue, Oct 07, 2014 at 17:27:09 -0700: > > I have encountered a problem with Subversion's Python bindings. For > > example, > > the following simple program does not work: > Which version of the bindings? trunk

Re: Pool usage in Python bindings

2014-10-08 Thread Alexey Neyman
On Wednesday, October 08, 2014 07:56:50 AM Daniel Shahaf wrote: > Alexey Neyman wrote on Tue, Oct 07, 2014 at 17:27:09 -0700: > > I have encountered a problem with Subversion's Python bindings. For > > example, > > the following simple program does not work: > Which version of the bindings? trunk?

Re: Pool usage in Python bindings

2014-10-08 Thread Daniel Shahaf
Alexey Neyman wrote on Tue, Oct 07, 2014 at 17:27:09 -0700: > I have encountered a problem with Subversion's Python bindings. For example, > the following simple program does not work: Which version of the bindings? trunk? > Am I correct in assuming that the division of a single 'pool' argument

Pool usage in Python bindings

2014-10-07 Thread Alexey Neyman
Hi, I have encountered a problem with Subversion's Python bindings. For example, the following simple program does not work: [[[ #!/usr/bin/python from svn import repos, core if __name__ == '__main__': stream = core.Stream(core.svn_stream_open_readonly("dump")) print stream.read() str