Python bindings by default
Stuart McGraw
smcg4191 at frii.com
Fri Mar 2 15:43:11 EST 2012
On 03/02/2012 01:17 PM, John Ralls wrote:
>> What about using Python's ctypes module to create
>> the bindings rather than swig? Such bindings would
>> be independent of the installed Python version I think
>> at the cost of some runtime efficiency (which would
>> not matter if the called API takes relatively much
>> more time.) I think the PyOpenGL bindings made this
>> change a few years ago, at least in part, for the
>> same reason. (http://pyopengl.sourceforge.net/ctypes/development.html)
>
> Patches welcome. ;-)
That's a possibility but I was hoping for comments from
those more knowledgeable than me about the feasibility or
lack thereof of such an approach. It would be unfortunate
for a gnucash neophyte like me to invest a lot of time in
such an attempt only to rediscover some known show-stopper.
More information about the gnucash-user
mailing list