> > Pass ptr(x) instead of x if you don't want the foo copied. > Thanks very much. Is there a way to specify this as the default behavior for a type, maybe via the to_python handlers or whatever? Basically, something so that whenever I call python with a foo*, it will do the pointer_wrapper<> thing...