Getting/setting parents works in python bindings