Re: Learning the Python API - early questions
From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-10-19 12:02:23 CEST
At 18-10-2003 22:45, Russell Yanofsky wrote:
Thanks. I'll look at it.
>PyCXX instead of SWIG? I don't see any advantages to doing that. The main
PyCXX allows me to use a very pythonic API. For example I have a revision
rev = pysvn.revision()
And a ls that takes keywords and returns a list of dicts for the result
client = pysvn.client()
I can also support threading by releasing the python interpreter lock
How would SWIG support all the callbacks?
I can isolate the Python world from crashing from bad param passing.
>1) The SvnCpp bindings wouldn't be able to interoperate with the Subversion
Why would I need this interop? I don't understand why it matters.
>2) The SvnCpp bindings wouldn't be available to Perl, Java, Ruby, PHP, etc,
My goal is a Python API and I'm not convinced that SWIG can make a
BArry
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.