Re: Patch for py[3] command to avoid print calls

2012-08-20 Fir de Conversatie Maxim Philippov
On Monday, August 20, 2012 6:41:43 PM UTC+4, skeept wrote: > On Thursday, August 16, 2012 8:47:38 AM UTC-4, Maxim Philippov 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 t

Re: Patch for py[3] command to avoid print calls

2012-08-20 Fir de Conversatie skeept
On Thursday, August 16, 2012 8:47:38 AM UTC-4, Maxim Philippov 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 p

Re: Patch for py[3] command to avoid print calls

2012-08-20 Fir de Conversatie Maxim Philippov
On Sunday, August 19, 2012 11:28:10 PM UTC+4, roland puntaier wrote: > On 8/18/2012 3:05 AM, Maxim Philippov > wrote: > > > > О©╫О©╫О©╫О©╫О©╫О©╫О©╫, 18 О©╫О©╫О©╫О©╫О©╫О©╫О©╫ 2012О©╫О©╫., 0:51:46 > UTC+4 О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ Vlad Irnov О©╫О©╫О©╫О©╫О©╫О©╫О©╫: >

Re: Patch for py[3] command to avoid print calls

2012-08-19 Fir de Conversatie Roland Puntaier
On 8/18/2012 3:05 AM, Maxim Philippov wrote: суббота, 18 августа 2012 г., 0:51:46 UTC+4 пользователь Vlad Irnov написал: There are plugins that implement REPL-like behavior: http://www.vim.org/scripts/script.php?script_id=3484 http://www.vim.org/scripts/script.php?script_id=3327 http://www.vi

Re: Patch for py[3] command to avoid print calls

2012-08-17 Fir de Conversatie Maxim Philippov
суббота, 18 августа 2012 г., 0:51:46 UTC+4 пользователь Vlad Irnov написал: > > There are plugins that implement REPL-like behavior: > > http://www.vim.org/scripts/script.php?script_id=3484 > > http://www.vim.org/scripts/script.php?script_id=3327 > > http://www.vim.org/scripts/script.php?script

Re: Patch for py[3] command to avoid print calls

2012-08-17 Fir de Conversatie Maxim Philippov
суббота, 18 августа 2012 г., 0:24:14 UTC+4 пользователь Bram Moolenaar написал: > > I do not see your name. Patches without a full name are not accepted, > > for copyright reasons. > Fixed. суббота, 18 августа 2012 г., 0:24:14 UTC+4 пользователь Bram Moolenaar написал: > > With this patch, w

Re: Patch for py[3] command to avoid print calls

2012-08-17 Fir de Conversatie Vlad Irnov
On 8/16/12, Maxim 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([

Re: Patch for py[3] command to avoid print calls

2012-08-17 Fir de Conversatie Bram Moolenaar
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

Patch for py[3] command to avoid print calls

2012-08-16 Fir de Conversatie Maxim
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 a