Tim,
> Trying this on different machines it works as expected on one but not
> on the other. So I suspect something strange going on on my OsX laptop
> (where it does not work).
so ... works on my Mac. I don't have a 10.4 (I've a 10.3.9 which I could revive and a 10.5).
The debugging will have to happen on your machine for a bit ...
>> However with this tree will always be 0, pytree also seems to fail >> ObjectProxy_Check().
Could you print it to see what pytree actually is?
PyObject_Print( pytree, stdout, Py_PRINT_RAW ); std::cout << std::endl; // flush
Best regards,
Wim
-- WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.netReceived on Tue Aug 10 2010 - 16:57:24 CEST
This archive was generated by hypermail 2.2.0 : Tue Aug 10 2010 - 23:50:01 CEST