Kien | 20 Jun 2013 03:13
Gravatar

\v(str|&&) causes "E874: (NFA) Could not pop the stack !"

While `\v(&&|str)` (order reversed) works and doesn't cause the error.

Both expressions work with the old regexp engine.

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Dominique Pellé | 20 Jun 2013 00:31
Picon

[patch] fixed clang compilation warnings

Hi

Attached patch fixes the following warnings given
by the clang compiler:

clang  -g -O3 -Wall -Wextra -Wmissing-prototypes -Wunreachable-code
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1   -DUNIX -o xxd xxd.c
xxd.c:725:30: warning: adding 'int' to a string does not append to the
string [-Wstring-plus-int]
                (p % cols) ? ", " : ",\n  "+2*!p,  c) < 0)
                                    ~~~~~~~^~~~~
xxd.c:725:30: note: use array indexing to silence this warning
                (p % cols) ? ", " : ",\n  "+2*!p,  c) < 0)
                                           ^
                                    &      [    ]
xxd.c:734:24: warning: adding 'int' to a string does not append to the
string [-Wstring-plus-int]
      if (fputs("};\n" + 3 * (fp == stdin), fpo) == EOF)
                ~~~~~~~^~~~~~~~~~~~~~~~~~~
xxd.c:734:24: note: use array indexing to silence this warning
      if (fputs("};\n" + 3 * (fp == stdin), fpo) == EOF)
                       ^
                &      [                  ]

clang also gives this warning:

./regexp_nfa.c:2814:13: warning: will never be executed [-Wunreachable-code]
    return -1;
            ^

(Continue reading)

Bram Moolenaar | 19 Jun 2013 21:17
Picon

Patch 7.3.1223


Patch 7.3.1223
Problem:    Tests fail on MS-Windows.
Solution:   Avoid depending on OS version. Use DOS commands instead of Unix
	    commands. (Taro Muraoka, Ken Takata)
Files:	    src/testdir/test17.in, src/testdir/test50.in,
	    src/testdir/test71.in, src/testdir/test77.in

*** ../vim-7.3.1222/src/testdir/test17.in	2012-07-25 13:46:25.000000000 +0200
--- src/testdir/test17.in	2013-06-19 21:01:57.000000000 +0200
***************
*** 9,14 ****
--- 9,21 ----
  :else
  : set isfname= <at> ,48-57,/,.,-,_,+,,,$,:,~,{,}
  :endif
+ :function! DeleteDirectory(dir)
+ : if has("win16") || has("win32") || has("win64") || has("dos16") || has("dos32")
+ :  exec "silent !rmdir /Q /S " . a:dir
+ : else
+ :  exec "silent !rm -rf " . a:dir
+ : endif
+ :endfun
  :if has("unix")
  :let $CDIR = "."
  /CDIR
***************
*** 20,25 ****
--- 27,37 ----
  :endif
(Continue reading)

Bram Moolenaar | 19 Jun 2013 20:12
Picon

Patch 7.3.1222


Patch 7.3.1222
Problem:    Cannot execute some tests from the src directoly.
Solution:   Add missing targets.
Files:	    src/Makefile

*** ../vim-7.3.1221/src/Makefile	2013-06-18 23:31:41.000000000 +0200
--- src/Makefile	2013-06-19 20:05:45.000000000 +0200
***************
*** 1867,1882 ****
  	done

  # Run individual test, assuming that Vim was already compiled.
! test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 \
! 	test11 test12 test13 test14 test15 test16 test17 test18 test19 \
! 	test21 test22 test23 test24 test25 test26 test27 test28 test29 \
! 	test31 test32 test33 test34 test35 test36 test37 test38 test39 \
! 	test41 test42 test43 test44 test45 test46 test47 test48 test49 \
! 	test51 test52 test53 test54 test55 test56 test57 test58 test59 \
! 	test61 test62 test63 test64 test65 test66 test67 test68 test69 \
! 	test71 test72 test73 test74 test75 test76 test77 test78 test79 \
! 	test81 test82 test83 test84 test85 test86 test87 test88 test89 \
! 	test91 test92 test93 test94 test95 test96 test97 test98 test99:
  	cd testdir; rm $ <at> .out; $(MAKE) -f Makefile $ <at> .out VIMPROG=../$(VIMTARGET)

  testclean:
--- 1868,1883 ----
  	done

  # Run individual test, assuming that Vim was already compiled.
(Continue reading)

J. Stutterheim | 19 Jun 2013 15:13
Picon
Gravatar

[Patch] Clean import highlighting

Hi,

Please find attached another patch for Clean syntax highlighting. It now supports the "as" keyword in
module imports.

P.S.: Is this the correct way to submit patches?

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Anton Konstantinov | 19 Jun 2013 12:31
Picon

Fwd:



Good day.

At first I'm sorry for my English.

As I think I found a bug. Vim spell-cheking procedure dont check words in the long strings.
Here 2 pictures. I think it help you to understand the problem.

On the first picture you can see a long string and wrong words in the end of it do not lighted.
On the second picture you can see result after division this string.

May be this bug is not sufficient, but i spent a lot time trying to solve this problem.

Thank you.

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
naquad | 19 Jun 2013 03:28
Picon
Gravatar

VIM commands PEG?

Hi.

I'm working on yet another VIM emulation mode.

Currently I'm implementing EX commands. I've looked through VIM source
and found that EX commands are parsed by do_one_cmd function in
src/ex_docmd.c line 1686.
It is 1069 lines long...

After looking at it I have a question: is there some PEG, CFG, BNF,
... spec for EX commands?
Googling didn't help much, only some very basic stuff is done in Ragel
or LEMON parser generators.

Thank you.

Regards, Daniel.

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Bram Moolenaar | 18 Jun 2013 23:32
Picon

Patch 7.3.1221


Patch 7.3.1221
Problem:    When build flags change "make distclean" run into a configure
	    error.
Solution:   When CFLAGS changes delete auto/config.cache.  Also avoid adding
	    duplicate text to flags.
Files:	    src/Makefile, src/configure.in, src/auto/configure

*** ../vim-7.3.1220/src/Makefile	2013-06-16 14:20:10.000000000 +0200
--- src/Makefile	2013-06-18 23:04:56.000000000 +0200
***************
*** 1655,1660 ****
--- 1656,1666 ----
  # sure configure is run when it's needed.
  #
  config auto/config.mk: auto/configure config.mk.in config.h.in
+ 	if test -f auto/config.cache && \
+ 	    grep '^ac_cv_env_CFLAGS_value=' auto/config.cache > /dev/null && \
+ 	    ! grep -x -F 'ac_cv_env_CFLAGS_value=$(CFLAGS)' auto/config.cache > /dev/null; then \
+ 		rm auto/config.cache; \
+ 	fi
  	GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
  		CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
  		LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
*** ../vim-7.3.1220/src/configure.in	2013-06-17 20:27:13.000000000 +0200
--- src/configure.in	2013-06-18 23:04:56.000000000 +0200
***************
*** 776,781 ****
--- 776,782 ----
        ldflags_save=$LDFLAGS
        CFLAGS="$CFLAGS $perlcppflags"
        LIBS="$LIBS $perllibs"
+       perlldflags=`echo "$perlldflags" | sed -e 's/^ *//g'`
        LDFLAGS="$perlldflags $LDFLAGS"
        AC_TRY_LINK(,[ ],
  	     AC_MSG_RESULT(yes); perl_ok=yes,
***************
*** 789,795 ****
  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[[^ ]]*//'`
  	fi
  	if test "X$perlldflags" != "X"; then
! 	  LDFLAGS="$perlldflags $LDFLAGS"
  	fi
  	PERL_LIBS=$perllibs
  	PERL_SRC="auto/if_perl.c if_perlsfio.c"
--- 790,798 ----
  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[[^ ]]*//'`
  	fi
  	if test "X$perlldflags" != "X"; then
! 	  if test "X`echo \"$LDFLAGS\" | grep -F -e \"$perlldflags\"`" = "X"; then
! 	    LDFLAGS="$perlldflags $LDFLAGS"
! 	  fi
  	fi
  	PERL_LIBS=$perllibs
  	PERL_SRC="auto/if_perl.c if_perlsfio.c"
***************
*** 1546,1552 ****
  	  dnl configure, so strip these flags first (if present)
  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
  	  if test "X$rubyldflags" != "X"; then
! 	    LDFLAGS="$rubyldflags $LDFLAGS"
  	  fi
  	fi
  	RUBY_SRC="if_ruby.c"
--- 1549,1557 ----
  	  dnl configure, so strip these flags first (if present)
  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
  	  if test "X$rubyldflags" != "X"; then
! 	    if test "X`echo \"$LDFLAGS\" | grep -F -e \"$rubyldflags\"`" = "X"; then
! 	      LDFLAGS="$rubyldflags $LDFLAGS"
! 	    fi
  	  fi
  	fi
  	RUBY_SRC="if_ruby.c"
***************
*** 3719,3725 ****
    dnl And undefine it first to avoid a warning.
    AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1)
    if test "$gccmajor" -gt "3"; then
!     CFLAGS=`echo "$CFLAGS" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/-D_FORTIFY_SOURCE=.//g' -e
's/$/ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1/'`
      AC_MSG_RESULT(yes)
    else
      AC_MSG_RESULT(no)
--- 3724,3730 ----
    dnl And undefine it first to avoid a warning.
    AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1)
    if test "$gccmajor" -gt "3"; then
!     CFLAGS=`echo "$CFLAGS" | sed -e 's/ *-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/ *-D_FORTIFY_SOURCE=.//g' -e
's/ *-U_FORTIFY_SOURCE//g' -e 's/$/ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1/'`
      AC_MSG_RESULT(yes)
    else
      AC_MSG_RESULT(no)
***************
*** 3734,3740 ****
  LINK_AS_NEEDED=
  # Check if linker supports --as-needed and --no-as-needed options
  if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then
!   LDFLAGS="$LDFLAGS -Wl,--as-needed"
    LINK_AS_NEEDED=yes
  fi
  if test "$LINK_AS_NEEDED" = yes; then
--- 3739,3745 ----
  LINK_AS_NEEDED=
  # Check if linker supports --as-needed and --no-as-needed options
  if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then
!   LDFLAGS=`echo "$LDFLAGS" | sed -e 's/ *-Wl,--as-needed//g' | sed -e 's/$/ -Wl,--as-needed/'`
    LINK_AS_NEEDED=yes
  fi
  if test "$LINK_AS_NEEDED" = yes; then
*** ../vim-7.3.1220/src/auto/configure	2013-06-17 20:27:13.000000000 +0200
--- src/auto/configure	2013-06-18 23:27:35.000000000 +0200
***************
*** 5133,5138 ****
--- 5133,5139 ----
        ldflags_save=$LDFLAGS
        CFLAGS="$CFLAGS $perlcppflags"
        LIBS="$LIBS $perllibs"
+       perlldflags=`echo "$perlldflags" | sed -e 's/^ *//g'`
        LDFLAGS="$perlldflags $LDFLAGS"
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
***************
*** 5162,5168 ****
  	  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
  	fi
  	if test "X$perlldflags" != "X"; then
! 	  LDFLAGS="$perlldflags $LDFLAGS"
  	fi
  	PERL_LIBS=$perllibs
  	PERL_SRC="auto/if_perl.c if_perlsfio.c"
--- 5163,5171 ----
  	  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
  	fi
  	if test "X$perlldflags" != "X"; then
! 	  if test "X`echo \"$LDFLAGS\" | grep -F -e \"$perlldflags\"`" = "X"; then
! 	    LDFLAGS="$perlldflags $LDFLAGS"
! 	  fi
  	fi
  	PERL_LIBS=$perllibs
  	PERL_SRC="auto/if_perl.c if_perlsfio.c"
***************
*** 6454,6460 ****
  	if test "X$rubyldflags" != "X"; then
  	  	  	  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
  	  if test "X$rubyldflags" != "X"; then
! 	    LDFLAGS="$rubyldflags $LDFLAGS"
  	  fi
  	fi
  	RUBY_SRC="if_ruby.c"
--- 6457,6465 ----
  	if test "X$rubyldflags" != "X"; then
  	  	  	  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
  	  if test "X$rubyldflags" != "X"; then
! 	    if test "X`echo \"$LDFLAGS\" | grep -F -e \"$rubyldflags\"`" = "X"; then
! 	      LDFLAGS="$rubyldflags $LDFLAGS"
! 	    fi
  	  fi
  	fi
  	RUBY_SRC="if_ruby.c"
***************
*** 12690,12696 ****
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need -D_FORTIFY_SOURCE=1" >&5
  $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
    if test "$gccmajor" -gt "3"; then
!     CFLAGS=`echo "$CFLAGS" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/-D_FORTIFY_SOURCE=.//g' -e
's/$/ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1/'`
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
    else
--- 12695,12701 ----
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need -D_FORTIFY_SOURCE=1" >&5
  $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
    if test "$gccmajor" -gt "3"; then
!     CFLAGS=`echo "$CFLAGS" | sed -e 's/ *-Wp,-D_FORTIFY_SOURCE=.//g' -e 's/ *-D_FORTIFY_SOURCE=.//g' -e
's/ *-U_FORTIFY_SOURCE//g' -e 's/$/ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1/'`
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
    else
***************
*** 12705,12711 ****
  LINK_AS_NEEDED=
  # Check if linker supports --as-needed and --no-as-needed options
  if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then
!   LDFLAGS="$LDFLAGS -Wl,--as-needed"
    LINK_AS_NEEDED=yes
  fi
  if test "$LINK_AS_NEEDED" = yes; then
--- 12710,12716 ----
  LINK_AS_NEEDED=
  # Check if linker supports --as-needed and --no-as-needed options
  if $CC -Wl,--help 2>/dev/null | grep as-needed > /dev/null; then
!   LDFLAGS=`echo "$LDFLAGS" | sed -e 's/ *-Wl,--as-needed//g' | sed -e 's/$/ -Wl,--as-needed/'`
    LINK_AS_NEEDED=yes
  fi
  if test "$LINK_AS_NEEDED" = yes; then
*** ../vim-7.3.1220/src/version.c	2013-06-17 22:43:18.000000000 +0200
--- src/version.c	2013-06-18 23:18:45.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     1221,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
251. You've never seen your closest friends who usually live WAY too far away.

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Bram Moolenaar | 18 Jun 2013 22:10
Picon

Test 86 fails with statis Python


Test 86 passes without problems when using a dynamically loaded Python.
When using a static library I get the different output below.

This is on Ubuntu 12.10 with Python 2.7.3.

Test 87 has the same problem: OK with dynamic loading, fails with static
library.  See further down below.  Python 3.2.3.

--- testdir/test86.failed	2013-06-18 22:02:01.000000000 +0200
+++ testdir/test86.ok	2013-06-12 14:21:28.000000000 +0200
 <at>  <at>  -497,7 +497,7  <at>  <at> 
 d["a"] = {"abc" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using d["a"] = {"abc" : %s}
-d["a"] = {"abc" : FailingIter()}:NotImplementedError:()
+d["a"] = {"abc" : FailingIter()}:TypeError:('unable to convert to vim structure',)
 d["a"] = {"abc" : FailingIterNext()}:NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s}
 <at>  <at>  -523,7 +523,7  <at>  <at> 
 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s})
-d["a"] = Mapping({"abc" : FailingIter()}):NotImplementedError:()
+d["a"] = Mapping({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
 d["a"] = Mapping({"abc" : FailingIterNext()}):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s})
 <at>  <at>  -534,7 +534,7  <at>  <at> 
 d["a"] = Mapping({"abc" : FailingMappingKey()}):NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using d["a"] = %s
-d["a"] = FailingIter():NotImplementedError:()
+d["a"] = FailingIter():TypeError:('unable to convert to vim structure',)
 d["a"] = FailingIterNext():NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = %s
 <at>  <at>  -565,7 +565,7  <at>  <at> 
 d.update({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using d.update({"abc" : %s})
-d.update({"abc" : FailingIter()}):NotImplementedError:()
+d.update({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
 d.update({"abc" : FailingIterNext()}):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update({"abc" : %s})
 <at>  <at>  -591,7 +591,7  <at>  <at> 
 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using d.update(Mapping({"abc" : %s}))
-d.update(Mapping({"abc" : FailingIter()})):NotImplementedError:()
+d.update(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
 d.update(Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s}))
 <at>  <at>  -633,7 +633,7  <at>  <at> 
 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),))
-d.update((("a", {"abc" : FailingIter()}),)):NotImplementedError:()
+d.update((("a", {"abc" : FailingIter()}),)):TypeError:('unable to convert to vim structure',)
 d.update((("a", {"abc" : FailingIterNext()}),)):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),))
 <at>  <at>  -659,7 +659,7  <at>  <at> 
 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):TypeError:('expected string without
null bytes',)
 <<< Finished
 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),))
-d.update((("a", Mapping({"abc" : FailingIter()})),)):NotImplementedError:()
+d.update((("a", Mapping({"abc" : FailingIter()})),)):TypeError:('unable to convert to vim structure',)
 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),))
 <at>  <at>  -670,7 +670,7  <at>  <at> 
 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using d.update((("a", %s),))
-d.update((("a", FailingIter()),)):NotImplementedError:()
+d.update((("a", FailingIter()),)):TypeError:('unable to convert to vim structure',)
 d.update((("a", FailingIterNext()),)):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", %s),))
 <at>  <at>  -704,7 +704,7  <at>  <at> 
 vim.List([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using vim.List([{"abc" : %s}])
-vim.List([{"abc" : FailingIter()}]):NotImplementedError:()
+vim.List([{"abc" : FailingIter()}]):TypeError:('unable to convert to vim structure',)
 vim.List([{"abc" : FailingIterNext()}]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}])
 <at>  <at>  -730,7 +730,7  <at>  <at> 
 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})])
-vim.List([Mapping({"abc" : FailingIter()})]):NotImplementedError:()
+vim.List([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert to vim structure',)
 vim.List([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})])
 <at>  <at>  -741,7 +741,7  <at>  <at> 
 vim.List([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using vim.List([%s])
-vim.List([FailingIter()]):NotImplementedError:()
+vim.List([FailingIter()]):TypeError:('unable to convert to vim structure',)
 vim.List([FailingIterNext()]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([%s])
 <at>  <at>  -774,7 +774,7  <at>  <at> 
 l[:] = [{"abc" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using l[:] = [{"abc" : %s}]
-l[:] = [{"abc" : FailingIter()}]:NotImplementedError:()
+l[:] = [{"abc" : FailingIter()}]:TypeError:('unable to convert to vim structure',)
 l[:] = [{"abc" : FailingIterNext()}]:NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}]
 <at>  <at>  -800,7 +800,7  <at>  <at> 
 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})]
-l[:] = [Mapping({"abc" : FailingIter()})]:NotImplementedError:()
+l[:] = [Mapping({"abc" : FailingIter()})]:TypeError:('unable to convert to vim structure',)
 l[:] = [Mapping({"abc" : FailingIterNext()})]:NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})]
 <at>  <at>  -811,7 +811,7  <at>  <at> 
 l[:] = [Mapping({"abc" : FailingMappingKey()})]:NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using l[:] = [%s]
-l[:] = [FailingIter()]:NotImplementedError:()
+l[:] = [FailingIter()]:TypeError:('unable to convert to vim structure',)
 l[:] = [FailingIterNext()]:NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [%s]
 <at>  <at>  -838,7 +838,7  <at>  <at> 
 l.extend([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using l.extend([{"abc" : %s}])
-l.extend([{"abc" : FailingIter()}]):NotImplementedError:()
+l.extend([{"abc" : FailingIter()}]):TypeError:('unable to convert to vim structure',)
 l.extend([{"abc" : FailingIterNext()}]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}])
 <at>  <at>  -864,7 +864,7  <at>  <at> 
 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})])
-l.extend([Mapping({"abc" : FailingIter()})]):NotImplementedError:()
+l.extend([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert to vim structure',)
 l.extend([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})])
 <at>  <at>  -875,7 +875,7  <at>  <at> 
 l.extend([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using l.extend([%s])
-l.extend([FailingIter()]):NotImplementedError:()
+l.extend([FailingIter()]):TypeError:('unable to convert to vim structure',)
 l.extend([FailingIterNext()]):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([%s])
 <at>  <at>  -911,7 +911,7  <at>  <at> 
 f({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using f({"abc" : %s})
-f({"abc" : FailingIter()}):NotImplementedError:()
+f({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
 f({"abc" : FailingIterNext()}):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using f({"abc" : %s})
 <at>  <at>  -937,7 +937,7  <at>  <at> 
 f(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using f(Mapping({"abc" : %s}))
-f(Mapping({"abc" : FailingIter()})):NotImplementedError:()
+f(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
 f(Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s}))
 <at>  <at>  -948,7 +948,7  <at>  <at> 
 f(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:()
 <<< Finished
 >>> Testing *Iter* using f(%s)
-f(FailingIter()):NotImplementedError:()
+f(FailingIter()):TypeError:('unable to convert to vim structure',)
 f(FailingIterNext()):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using f(%s)
 <at>  <at>  -974,7 +974,7  <at>  <at> 
 fd(self={"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using fd(self={"abc" : %s})
-fd(self={"abc" : FailingIter()}):NotImplementedError:()
+fd(self={"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
 fd(self={"abc" : FailingIterNext()}):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s})
 <at>  <at>  -1000,7 +1000,7  <at>  <at> 
 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
 <<< Finished
 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s}))
-fd(self=Mapping({"abc" : FailingIter()})):NotImplementedError:()
+fd(self=Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
 fd(self=Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
 <<< Finished
 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s}))

--- testdir/test87.failed	2013-06-18 22:09:07.000000000 +0200
+++ testdir/test87.ok	2013-06-12 14:12:13.000000000 +0200
 <at>  <at>  -490,7 +490,7  <at>  <at> 
 d["a"] = {"abc" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using d["a"] = {"abc" : %s}
-d["a"] = {"abc" : FailingIter()}:(<class 'NotImplementedError'>, NotImplementedError())
+d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s}
 <at>  <at>  -516,7 +516,7  <at>  <at> 
 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with
no null',))
 <<< Finished
 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s})
-d["a"] = Mapping({"abc" : FailingIter()}):(<class 'NotImplementedError'>, NotImplementedError())
+d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s})
 <at>  <at>  -527,7 +527,7  <at>  <at> 
 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using d["a"] = %s
-d["a"] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError())
+d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d["a"] = %s
 <at>  <at>  -562,7 +562,7  <at>  <at> 
 d.update({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using d.update({"abc" : %s})
-d.update({"abc" : FailingIter()}):(<class 'NotImplementedError'>, NotImplementedError())
+d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update({"abc" : %s})
 <at>  <at>  -588,7 +588,7  <at>  <at> 
 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes
with no null',))
 <<< Finished
 >>> Testing *Iter* using d.update(Mapping({"abc" : %s}))
-d.update(Mapping({"abc" : FailingIter()})):(<class 'NotImplementedError'>, NotImplementedError())
+d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to
vim structure',))
 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s}))
 <at>  <at>  -630,7 +630,7  <at>  <at> 
 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes
with no null',))
 <<< Finished
 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),))
-d.update((("a", {"abc" : FailingIter()}),)):(<class 'NotImplementedError'>, NotImplementedError())
+d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert to
vim structure',))
 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),))
 <at>  <at>  -656,7 +656,7  <at>  <at> 
 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>,
TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),))
-d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'NotImplementedError'>, NotImplementedError())
+d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to
convert to vim structure',))
 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),))
 <at>  <at>  -667,7 +667,7  <at>  <at> 
 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using d.update((("a", %s),))
-d.update((("a", FailingIter()),)):(<class 'NotImplementedError'>, NotImplementedError())
+d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using d.update((("a", %s),))
 <at>  <at>  -705,7 +705,7  <at>  <at> 
 vim.List([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using vim.List([{"abc" : %s}])
-vim.List([{"abc" : FailingIter()}]):(<class 'NotImplementedError'>, NotImplementedError())
+vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}])
 <at>  <at>  -731,7 +731,7  <at>  <at> 
 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected
bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})])
-vim.List([Mapping({"abc" : FailingIter()})]):(<class 'NotImplementedError'>, NotImplementedError())
+vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert
to vim structure',))
 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})])
 <at>  <at>  -742,7 +742,7  <at>  <at> 
 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using vim.List([%s])
-vim.List([FailingIter()]):(<class 'NotImplementedError'>, NotImplementedError())
+vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using vim.List([%s])
 <at>  <at>  -779,7 +779,7  <at>  <at> 
 l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using l[:] = [{"abc" : %s}]
-l[:] = [{"abc" : FailingIter()}]:(<class 'NotImplementedError'>, NotImplementedError())
+l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}]
 <at>  <at>  -805,7 +805,7  <at>  <at> 
 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with
no null',))
 <<< Finished
 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})]
-l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'NotImplementedError'>, NotImplementedError())
+l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})]
 <at>  <at>  -816,7 +816,7  <at>  <at> 
 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using l[:] = [%s]
-l[:] = [FailingIter()]:(<class 'NotImplementedError'>, NotImplementedError())
+l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l[:] = [%s]
 <at>  <at>  -847,7 +847,7  <at>  <at> 
 l.extend([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using l.extend([{"abc" : %s}])
-l.extend([{"abc" : FailingIter()}]):(<class 'NotImplementedError'>, NotImplementedError())
+l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}])
 <at>  <at>  -873,7 +873,7  <at>  <at> 
 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected
bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})])
-l.extend([Mapping({"abc" : FailingIter()})]):(<class 'NotImplementedError'>, NotImplementedError())
+l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert
to vim structure',))
 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})])
 <at>  <at>  -884,7 +884,7  <at>  <at> 
 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using l.extend([%s])
-l.extend([FailingIter()]):(<class 'NotImplementedError'>, NotImplementedError())
+l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using l.extend([%s])
 <at>  <at>  -920,7 +920,7  <at>  <at> 
 f({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using f({"abc" : %s})
-f({"abc" : FailingIter()}):(<class 'NotImplementedError'>, NotImplementedError())
+f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using f({"abc" : %s})
 <at>  <at>  -946,7 +946,7  <at>  <at> 
 f(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using f(Mapping({"abc" : %s}))
-f(Mapping({"abc" : FailingIter()})):(<class 'NotImplementedError'>, NotImplementedError())
+f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s}))
 <at>  <at>  -957,7 +957,7  <at>  <at> 
 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing *Iter* using f(%s)
-f(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
+f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using f(%s)
 <at>  <at>  -983,7 +983,7  <at>  <at> 
 fd(self={"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',))
 <<< Finished
 >>> Testing *Iter* using fd(self={"abc" : %s})
-fd(self={"abc" : FailingIter()}):(<class 'NotImplementedError'>, NotImplementedError())
+fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',))
 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s})
 <at>  <at>  -1009,7 +1009,7  <at>  <at> 
 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes
with no null',))
 <<< Finished
 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s}))
-fd(self=Mapping({"abc" : FailingIter()})):(<class 'NotImplementedError'>, NotImplementedError())
+fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to
vim structure',))
 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError())
 <<< Finished
 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s}))

-- 
hundred-and-one symptoms of being an internet addict:
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
     for directory assistance.

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ken Takata | 18 Jun 2013 16:59
Picon
Gravatar

[patch] sometimes 'make config' doesn't work well

Hi,

Sometimes 'make config' or 'make reconfig' don't work well.

Please consider the following situation:

1. Do 'hg clone' to get the latest source codes.
2. Do 'make config && make'.
3. A few days later, do 'hg pull -u' to get the updated codes
   which include updated src/auto/configure. (To simulate this, just do
   'touch src/auto/configure'.)
4. Do 'make config' again. Then the following error will be shown:

configure: loading cache auto/config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  `-g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1'
configure:   current value: `-g -O2 -U_FORTIFY_SOURCE  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1'
configure: error: `LDFLAGS' has changed since the previous run:
configure:   former value:  `-L.       -L/usr/local/lib -Wl,--as-needed'
configure:   current value: `-L.      -L.       -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed'
configure: error: in `/cygdrive/c/work/vim/src':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
Makefile:1657: recipe for target `config' failed
make: *** [config] Error 1

When I run 'make distclean' as the message says, I get the same error again.
This is caused by dependency of 'auto/config.mk'. The 'Makefile' includes
'auto/config.mk' which depends on 'auto/configure'. So if 'auto/configure'
is updated, the 'make' command tries to update 'auto/config.mk' before doing
'make distclean' itself.

If I run 'rm auto/config.cache', 'make config' succeeds at that time.
But if src/auto/configure is updated again, the same error will be shown again.
Additionally, 'CFLAGS' and 'LDFLAGS' become longer and longer when I run
'rm auto/config.cache && make config' again and again.

I made a patch to fix this strange behavior.
'rm auto/config.cache' will be done automatically if needed.
'CFLAGS' and 'LDFLAGS' are also fixed properly.

Best regards,
Ken Takata

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Attachment (fix-make-config.patch): text/x-diff, 2795 bytes
Taro MURAOKA | 18 Jun 2013 02:03
Picon
Gravatar

fix tests for DOS/Windows

Hi list.

There are tests failed on DOS/Windows environment.
I have fixed two of them.
Please check attached patches.

test50: Short name seems depending on OS version.
On my Win7, "c:/x.x.y" has short name "c:/XX9B80~1.Y", it will not be matched.
So I made it flexible.

test77: failed when "cksum" available (MinGW or Cygwin).

Best.

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Gmane