> > I still see a big difference between the output and what is supposed to > > be the output. > > > > In test86 output lines 757 to 1075 are missing. It's like some part of > > the test didn't run. > > I see the same difference in test86. > > > In test87 there are a few errors in several lines. E.g. getting > > "SyntaxError" instead of "TypeError". > > I also see that difference in test87. > > Furthermore, I see this kind of errors in "test87.failed" which > I do not see in "test87.ok": > > E: This Vim cannot execute :python after using :py > E: Sorry, this command is disabled, the Python library could not be loaded. > > Glancing at test87.in, I see that I invokes the :py3 command > at line 7 for example as well as the :py command (at line 711 for > example).
Thanks. I am wondering though why using both pythons at a time is disabled in your vim, I can call both when choose both python/dyn and python3/dyn at a time. # HG changeset patch # User ZyX <kp-...@ya.ru> # Date 1369969169 -14400 # Branch python-extended-4 # Node ID bca5a13b9afd2d9b648c8239696753f663f09147 # Parent b1ac50f1963b2e3454eacc06339c2b4799e89557 Change :py to :py3 in test87 diff -r b1ac50f1963b -r bca5a13b9afd src/testdir/test87.in --- a/src/testdir/test87.in Fri May 31 00:50:57 2013 +0400 +++ b/src/testdir/test87.in Fri May 31 06:59:29 2013 +0400 @@ -708,10 +708,10 @@ :" :" Test stdout/stderr :redir => messages -:py sys.stdout.write('abc') ; sys.stdout.write('def') -:py sys.stderr.write('abc') ; sys.stderr.write('def') -:py sys.stdout.writelines(iter('abc')) -:py sys.stderr.writelines(iter('abc')) +:py3 sys.stdout.write('abc') ; sys.stdout.write('def') +:py3 sys.stderr.write('abc') ; sys.stderr.write('def') +:py3 sys.stdout.writelines(iter('abc')) +:py3 sys.stderr.writelines(iter('abc')) :redir END :$put =string(substitute(messages, '\d\+', '', 'g')) :" Test subclassing > I'm using xubuntu-12.10. This is the full output of :version > (notice that I have both "+python/dyn" and "+python3/dyn"): > > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 30 2013 23:15:24) > Flikaĵoj inkluzivitaj: 1-1077 > Kompilita de pel@pel-laptop > Grandega versio kun grafika interfaco GTK2. Ebloj inkluzivitaj (+) aŭ ne (-): > +arabic -ebcdic +listcmds +persistent_undo +terminfo > +autocmd +emacs_tags +localmap +postscript > +termresponse > +balloon_eval +eval +lua +printer > +textobjects > +browse +ex_extra +menu +profile +title > ++builtin_terms +extra_search +mksession +python/dyn +toolbar > +byte_offset +farsi +modify_fname +python3/dyn > +user_commands > +cindent +file_in_path +mouse +quickfix +vertsplit > +clientserver +find_in_path +mouseshape +reltime > +virtualedit > +clipboard +float +mouse_dec +rightleft +visual > +cmdline_compl +folding +mouse_gpm +ruby > +visualextra > +cmdline_hist -footer -mouse_jsbterm +scrollbind +viminfo > +cmdline_info +fork() +mouse_netterm +signs +vreplace > +comments +gettext +mouse_sgr +smartindent > +wildignore > +conceal -hangul_input -mouse_sysmouse -sniff +wildmenu > +cryptv +iconv +mouse_urxvt +startuptime +windows > +cscope +insert_expand +mouse_xterm +statusline > +writebackup > +cursorbind +jumplist +multi_byte -sun_workshop +X11 > +cursorshape +keymap +multi_lang +syntax -xfontset > +dialog_con_gui +langmap -mzscheme +tag_binary +xim > +diff +libcall +netbeans_intg +tag_old_static > +xsmp_interact > +digraphs +linebreak +path_extra -tag_any_white > +xterm_clipboard > +dnd +lispindent +perl +tcl > -xterm_save > sistema dosiero vimrc: "$VIM/vimrc" > dosiero vimrc de uzanto: "$HOME/.vimrc" > dosiero exrc de uzanto: "$HOME/.exrc" > sistema dosiero gvimrc: "$VIM/gvimrc" > dosiero gvimrc de uzanto: "$HOME/.gvimrc" > dosiero de sistema menuo: "$VIMRUNTIME/menu.vim" > defaŭlto de $VIM: "/usr/local/share/vim" > Kompilado: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread > -I/usr/include/gtk-2.0 - > I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/i > nclude/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 > -I/usr/include/gio-unix-2.0/ -I/usr/include/glib > -2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/pixman-1 -I/usr/include/freety > pe2 -I/usr/include/libpng12 -I/usr/local/include -g -O0 -Wall > -Wextra -Wmissing-prototypes - > Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DEXITFREE > -I/usr/include/tcl8.5 -D > _REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 > Ligado: gcc -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 > -lgio-2.0 -lpangoft2-1.0 -lpangoc > airo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig > -lgobject-2.0 -lglib-2.0 > -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl > -lselinux -lacl -lattr - > lgpm -ldl -L/usr/lib -llua5.1 -Wl,-E -fstack-protector > -L/usr/local/lib -L/usr/lib/perl/5.14 > /CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib -ltcl8.5 -ldl > -lpthread -lieee -lm -lruby- > 1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib > > Regards > Dominique What are the python versions? -- -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
*** /tmp/extdiff.JpJvsy/vim.b1ac50f1963b/src/testdir/test87.in 2013-05-31 07:02:24.695862259 +0400 --- vim.bca5a13b9afd/src/testdir/test87.in 2013-05-31 07:02:24.698862231 +0400 *************** *** 708,717 **** :" :" Test stdout/stderr :redir => messages ! :py sys.stdout.write('abc') ; sys.stdout.write('def') ! :py sys.stderr.write('abc') ; sys.stderr.write('def') ! :py sys.stdout.writelines(iter('abc')) ! :py sys.stderr.writelines(iter('abc')) :redir END :$put =string(substitute(messages, '\d\+', '', 'g')) :" Test subclassing --- 708,717 ---- :" :" Test stdout/stderr :redir => messages ! :py3 sys.stdout.write('abc') ; sys.stdout.write('def') ! :py3 sys.stderr.write('abc') ; sys.stderr.write('def') ! :py3 sys.stdout.writelines(iter('abc')) ! :py3 sys.stderr.writelines(iter('abc')) :redir END :$put =string(substitute(messages, '\d\+', '', 'g')) :" Test subclassing