RE: Obtaining the PyObject * of a class

2008-03-12 Thread Bronner, Gregory
Personally, I wouldn't bother. From: Cooper, Andrew [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 7:34 PM To: python-list@python.org Subject: RE: Obtaining the PyObject * of a class The part I'm having problem with is as follows: I want to r

RE: Obtaining the PyObject * of a class

2008-03-11 Thread Cooper, Andrew
} -- http://mail.python.org/mailman/listinfo/python-list From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bronner, Gregory Sent: 11 March 2008 20:52 To: Michael Wieher; python-list@python.org; [EMAIL PROTECTED] Subject: RE: Obtaining the PyObject * of a class I'd strongl

RE: Obtaining the PyObject * of a class

2008-03-11 Thread Bronner, Gregory
27;d like. In general, the output one is found in $result, and $input is input PyObject for that typemap. From: Michael Wieher [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 3:09 PM To: python-list@python.org Subject: Re: Obtaining the PyObject *

Re: Obtaining the PyObject * of a class

2008-03-11 Thread Michael Wieher
2 things: 1st. there is a python mailing list for people interested in C++ extension type stuff 2nd. SWIG is useless and overly complicated, its much easier to just generate your own C++ code by hand, less confusion, and much more clarity. I find no value in using anything else. People complain ab

Re: Obtaining the PyObject * of a class

2008-03-11 Thread Chris Mellon
On Tue, Mar 11, 2008 at 12:13 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > > "Cooper, Andrew" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > | Are there any Python C API experts/SWIG experts out there that can help > | me with this issue please. > > | I',m currently using SWIG

Re: Obtaining the PyObject * of a class

2008-03-11 Thread Terry Reedy
"Cooper, Andrew" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Are there any Python C API experts/SWIG experts out there that can help | me with this issue please. | I',m currently using SWIG to generate a python interface to a C DLL. Some people have switched to using ctypes for

RE: Obtaining the PyObject * of a class

2008-03-11 Thread Cooper, Andrew
Are there any Python C API experts/SWIG experts out there that can help me with this issue please. Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cooper, Andrew Sent: 10 March 2008 15:55 To: python-list@python.org Subject: Obtaining the PyObject * o