inplace python list bridge