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