port pyerr, objinfo from vim-ipython