Christoph,

your C++ code passes a pointer argument to the "g()" member function,
but your Python bindings don't specify a call policy. (I wonder why that
doesn't raise a compilation error.)
The effect mostly likely is that in fact the value is copied, so you see
a new object.

Explicit is better than implicit.

    Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to