|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.195
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.195 (after 7.4.193)
|
|
|
22c937 |
Problem: Python tests fail.
|
|
|
22c937 |
Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro
|
|
|
22c937 |
Muraoka)
|
|
|
22c937 |
Files: src/testdir/test86.in, src/testdir/test86.ok,
|
|
|
22c937 |
src/testdir/test87.in, src/testdir/test87.ok
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.194/src/testdir/test86.in 2014-02-11 18:47:18.678311042 +0100
|
|
|
22c937 |
--- src/testdir/test86.in 2014-03-12 15:20:41.512708977 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 675,681 ****
|
|
|
22c937 |
# Check GCing iterator that was not fully exhausted
|
|
|
22c937 |
i = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
! # and also check creating more then one iterator at a time
|
|
|
22c937 |
i2 = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i2:' + str(next(i2)))
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
--- 675,681 ----
|
|
|
22c937 |
# Check GCing iterator that was not fully exhausted
|
|
|
22c937 |
i = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
! # and also check creating more than one iterator at a time
|
|
|
22c937 |
i2 = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i2:' + str(next(i2)))
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
*** ../vim-7.4.194/src/testdir/test86.ok 2014-01-14 16:54:53.000000000 +0100
|
|
|
22c937 |
--- src/testdir/test86.ok 2014-03-12 15:19:28.080707851 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 882,892 ****
|
|
|
22c937 |
l[:] = FailingIter():NotImplementedError:('iter',)
|
|
|
22c937 |
l[:] = FailingIterNext():NotImplementedError:('next',)
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
! nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater then 2 to extended slice',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
nel[1:10:2] = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
! nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater then 0 to extended slice',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
nel[:] = FailingIterNextN(2):NotImplementedError:('next N',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
--- 882,892 ----
|
|
|
22c937 |
l[:] = FailingIter():NotImplementedError:('iter',)
|
|
|
22c937 |
l[:] = FailingIterNext():NotImplementedError:('next',)
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
! nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
nel[1:10:2] = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
! nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
nel[:] = FailingIterNextN(2):NotImplementedError:('next N',)
|
|
|
22c937 |
('a', 'b', 'c', 'O')
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1233,1240 ****
|
|
|
22c937 |
>>> Testing NumberToLong using vim.buffers[%s]
|
|
|
22c937 |
vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
|
|
|
22c937 |
vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
|
|
|
22c937 |
! vim.buffers[-1]:ValueError:('number must be greater then zero',)
|
|
|
22c937 |
! vim.buffers[0]:ValueError:('number must be greater then zero',)
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
> Current
|
|
|
22c937 |
>> CurrentGetattr
|
|
|
22c937 |
--- 1233,1240 ----
|
|
|
22c937 |
>>> Testing NumberToLong using vim.buffers[%s]
|
|
|
22c937 |
vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
|
|
|
22c937 |
vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
|
|
|
22c937 |
! vim.buffers[-1]:ValueError:('number must be greater than zero',)
|
|
|
22c937 |
! vim.buffers[0]:ValueError:('number must be greater than zero',)
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
> Current
|
|
|
22c937 |
>> CurrentGetattr
|
|
|
22c937 |
*** ../vim-7.4.194/src/testdir/test87.in 2014-02-11 18:47:18.678311042 +0100
|
|
|
22c937 |
--- src/testdir/test87.in 2014-03-12 15:21:20.036709567 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 664,670 ****
|
|
|
22c937 |
# Check GCing iterator that was not fully exhausted
|
|
|
22c937 |
i = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
! # and also check creating more then one iterator at a time
|
|
|
22c937 |
i2 = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i2:' + str(next(i2)))
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
--- 664,670 ----
|
|
|
22c937 |
# Check GCing iterator that was not fully exhausted
|
|
|
22c937 |
i = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
! # and also check creating more than one iterator at a time
|
|
|
22c937 |
i2 = iter(vim.buffers)
|
|
|
22c937 |
cb.append('i2:' + str(next(i2)))
|
|
|
22c937 |
cb.append('i:' + str(next(i)))
|
|
|
22c937 |
*** ../vim-7.4.194/src/testdir/test87.ok 2014-01-14 16:54:53.000000000 +0100
|
|
|
22c937 |
--- src/testdir/test87.ok 2014-03-12 15:19:28.080707851 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 882,892 ****
|
|
|
22c937 |
l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',))
|
|
|
22c937 |
l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',))
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
! nel[1:10:2] = "abcK":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 2 to extended slice',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
nel[1:10:2] = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size 1 to extended slice of size 2',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
! nel[1:1:-1] = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 0 to extended slice',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
nel[:] = FailingIterNextN(2):(<class 'NotImplementedError'>, NotImplementedError('next N',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
--- 882,892 ----
|
|
|
22c937 |
l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',))
|
|
|
22c937 |
l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',))
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
! nel[1:10:2] = "abcK":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater than 2 to extended slice',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
nel[1:10:2] = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size 1 to extended slice of size 2',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
! nel[1:1:-1] = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater than 0 to extended slice',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
nel[:] = FailingIterNextN(2):(<class 'NotImplementedError'>, NotImplementedError('next N',))
|
|
|
22c937 |
(b'a', b'b', b'c', b'O')
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1233,1240 ****
|
|
|
22c937 |
>>> Testing NumberToLong using vim.buffers[%s]
|
|
|
22c937 |
vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',))
|
|
|
22c937 |
vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',))
|
|
|
22c937 |
! vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
|
|
|
22c937 |
! vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
> Current
|
|
|
22c937 |
>> CurrentGetattr
|
|
|
22c937 |
--- 1233,1240 ----
|
|
|
22c937 |
>>> Testing NumberToLong using vim.buffers[%s]
|
|
|
22c937 |
vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',))
|
|
|
22c937 |
vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',))
|
|
|
22c937 |
! vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
|
|
|
22c937 |
! vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
|
|
|
22c937 |
<<< Finished
|
|
|
22c937 |
> Current
|
|
|
22c937 |
>> CurrentGetattr
|
|
|
22c937 |
*** ../vim-7.4.194/src/version.c 2014-03-12 14:54:29.920684895 +0100
|
|
|
22c937 |
--- src/version.c 2014-03-12 15:19:20.016707728 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 195,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Zen Microsystems: we're the om in .commmmmmmmm
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|