Obtaining the PyObject * of a class

2008-03-10 Thread Cooper, Andrew
I',m currently using SWIG to generate a python interface to a C DLL. I'm new to the Python C API and have a question that has been stumping me for the last week. As part of the wrapper process I want to hide some of the complexity with dealing with handles using a python class. But the problem I

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

RE: Obtaining the PyObject * of a class

2008-03-11 Thread Cooper, Andrew
bout the "boilerplate" code, but honestly, copy & paste, change three characters, and you're done. And you know exactly what is happening, how when and why. 2008/3/11, Chris Mellon <[EMAIL PROTECTED]>: On Tue, Mar 11, 2008 at 12:13 PM, Terry Reedy <[EMAIL PROTECTED]&g