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