Maxim / philippovmi wrote:

> Hi, vim_dev!
> 
> I'd like to offer a small patch for python interface, which allows to
> avoid inserting print call for every expression in order to see
> result.
> 
> Now:
> 
> :py 2 + 2
> :py dir.__doc__
> 
> After applying patch:
> 
> :py 2 + 2
> 4
> :py dir.__doc__
> dir([object]) -> list of strings...
> 
> So py/py3 commands are more REPL-like. See pyrepl.diff in attachment
> for details.

I do not see your name.  Patches without a full name are not accepted,
for copyright reasons.

With this patch, what does  :py print "hello"  result in?  Is there an
extra line with whatever "print" returns?

-- 
hundred-and-one symptoms of being an internet addict:
254. You wake up daily with your keyboard printed on your forehead.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui