improved reference handling around list/tuple/dict creation
improved reference handling around list/tuple/dict creation

rstudio/tensorflow,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,rstudio/reticulate