Re: Python & RA

2010-02-14 Thread Daniel Eggert
Den Feb 14, 2010 kl. 15:18 skrev Роман Донченко : Роман Донченко писал в своём письме Tue, 19 Jan 2010 21:08:04 +0300: Daniel Eggert писал в своём письме Tue, 19 Jan 2010 20:12:50 +0300: On Jan 19, 2010, at 7:25 , Роман Донченко wrote: On Mon, 2010-01-18 at 20:12 -0600, Daniel Egge

Re: Python & RA

2010-02-14 Thread Роман Донченко
Роман Донченко писал в своём письме Tue, 19 Jan 2010 21:08:04 +0300: Daniel Eggert писал в своём письме Tue, 19 Jan 2010 20:12:50 +0300: On Jan 19, 2010, at 7:25 , Роман Донченко wrote: On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: The config argument isn't passed to the C AP

Re: Python & RA

2010-01-20 Thread Daniel Eggert
On Jan 20, 2010, at 11:10 , Роман Донченко wrote: > Daniel Eggert писал в своём письме Wed, 20 Jan 2010 > 19:54:40 +0300: > I got svn.ra.open2() and svn.ra.get_dir() working, but I'm unable to make the receiver/baton part of l = svn.ra.get_log2(session, None, 1, 4, 0, False,

Re: Python & RA

2010-01-20 Thread Роман Донченко
Daniel Eggert писал в своём письме Wed, 20 Jan 2010 19:54:40 +0300: I got svn.ra.open2() and svn.ra.get_dir() working, but I'm unable to make the receiver/baton part of l = svn.ra.get_log2(session, None, 1, 4, 0, False, False, [], receiver, None) work. The receiver is supposed to be a svn

Re: Python & RA

2010-01-19 Thread Роман Донченко
(Sigh; resending to the list, as was initially intended.) Daniel Eggert писал в своём письме Tue, 19 Jan 2010 20:12:50 +0300: On Jan 19, 2010, at 7:25 , Роман Донченко wrote: On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: The config argument isn't passed to the C API correctly ATM..

Re: Python & RA

2010-01-19 Thread Daniel Eggert
On Jan 19, 2010, at 7:25 , Роман Донченко wrote: >> On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: >>> I've been trying to use python to use Subversion’s Remote Access library, >>> but it crashes. >>> >>> >>> >>> #!/usr/bin/python >>> >>> import os >>> import svn >>> import svn.ra >>

Re: Python & RA

2010-01-19 Thread Daniel Eggert
No. It is the 'normal' Python binary. No Java. /Daniel On Jan 19, 2010, at 5:57, Luke Imhoff wrote: The fact that the trace shows org.python.python, does that mean that your /usr/bin/python is Jython (python in java) instead of CPython? On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote

Re: Python & RA

2010-01-19 Thread Роман Донченко
On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: I've been trying to use python to use Subversion’s Remote Access library, but it crashes. #!/usr/bin/python import os import svn import svn.ra import svn.client import svn.core svn.ra.initialize() class Callbacks(svn.ra.Callbacks):

Re: Python & RA

2010-01-19 Thread Luke Imhoff
The fact that the trace shows org.python.python, does that mean that your /usr/bin/python is Jython (python in java) instead of CPython? On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: > I've been trying to use python to use Subversion’s Remote Access library, but > it crashes. > > > >

Python & RA

2010-01-18 Thread Daniel Eggert
I've been trying to use python to use Subversion’s Remote Access library, but it crashes. #!/usr/bin/python import os import svn import svn.ra import svn.client import svn.core svn.ra.initialize() class Callbacks(svn.ra.Callbacks): def __init__(self): self.auth_baton = svn.core.