Does this look about right? Perhaps this should be added to the
standard installation.
Necessary for forcing disconnects from python objects on the c++ side...
// Uninstall the instance data for a C++ object from a Python instance
// object.
void instance_holder::uninstall(PyObject* self) throw()
Greetings,
I am trying to create built-in sub modules.. I have read everything I can
on this subject..
And I've tried many many possible solutions.. And lost many hours actually
(blech).
Some of the e-mails in these newsgroups from long ago are quite
misleading.. Other e-mails on this topic s
I just wanted to add one more clarification, because actually there is
a bug in the code I posted..
For this late binding to work properly..
You really want to have something like this (sorry, ripping from
non-test code):
template
struct PAccessorConverter
{
static PyObject* convert(const T
I just wanted to thank
http://mail.python.org/pipermail/cplusplus-sig/2007-July/012293.html
I've extended what he wrote.. I needed late binding for c++ to python objects.
Hope this is useful for someone else. Maybe there was some other way
I was supposed to do this, but I couldn't find it.
Um..