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..