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