On Wednesday, March 23, 2011 12:02:57 AM UTC+2, Bram Moolenaar wrote:
> Tobias Columbus wrote:
>
> > > On Tuesday 22 March 2011 13:40:19 you wrote:
> > > > Kearn Holliday reported that this Python command crashes
> > > > some versions
> > > >
> > > > of Vim:
> > > > :python help(dir)
> > > >
> > > > This is the stack I get in gdb:
> > SNIP
> > > > Does someone have an idea why this happens or how to fix it?
> > >
> > > I just had a look at what's going on there.
> > SNIP
> > > I tracked the problem down to a call to
> > > type(sys.stdout)
> > > in the method pydoc.getpager(), which tries to determine what
> > > pager to use.
> >
> > The bug is indeed in type(sys.stdout). The attached patch fixes
> > the problem at least here. I modified all other Type
> > "constructors" for consistency reasons.
>
> Thanks. I'll verify it fixes the problem for me as well.
>
> --
> ARTHUR: CHARGE!
> [The mighty ARMY charges. Thundering noise of feet. Clatter of coconuts.
> Shouts etc. Suddenly there is a wail of a siren and a couple of police
> cars roar round in front of the charging ARMY and the POLICE leap out and
> stop them. TWO POLICEMAN and the HISTORIAN'S WIFE. Black Marias skid up
> behind them.]
> HISTORIAN'S WIFE: They're the ones, I'm sure.
> "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
>
> /// Bram Moolenaar -- [email protected] -- 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 ///
Has this crash been fixed? My Vim crashes whenever I use the :python command
with any argument. Here is the output of the :version command for the Vim I
use:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33)
MS-Windows 32-bit GUI version with OLE support
Compiled by mool@tororo
Big version with GUI. Features included (+) or not (-):
+arabic +cursorshape -hangul_input +multi_byte_ime/dyn
+scrollbind +user_commands
+autocmd +dialog_con_gui +iconv/dyn +multi_lang
+signs +vertsplit
+balloon_eval +diff +insert_expand -mzscheme
+smartindent +virtualedit
+browse +digraphs +jumplist +netbeans_intg
-sniff +visual
++builtin_terms -dnd +keymap +ole
+startuptime +visualextra
+byte_offset -ebcdic +langmap +path_extra
+statusline +viminfo
+cindent +emacs_tags +libcall +perl/dyn
-sun_workshop +vreplace
+clientserver +eval +linebreak +persistent_undo
+syntax +wildignore
+clipboard +ex_extra +lispindent -postscript
+tag_binary +wildmenu
+cmdline_compl +extra_search +listcmds +printer
+tag_old_static +windows
+cmdline_hist +farsi +localmap -profile
-tag_any_white +writebackup
+cmdline_info +file_in_path -lua +python/dyn
+tcl/dyn -xfontset
+comments +find_in_path +menu +python3/dyn
-tgetent -xim
+conceal +float +mksession +quickfix
-termresponse -xterm_save
+cryptv +folding +modify_fname +reltime
+textobjects +xpm_w32
+cscope -footer +mouse +rightleft
+title
+cursorbind +gettext/dyn +mouseshape +ruby/dyn
+toolbar
system vimrc file: "$VIM\vimrc"
user vimrc file: "$HOME\_vimrc"
2nd user vimrc file: "$HOME\vimfiles\vimrc"
3rd user vimrc file: "$VIM\_vimrc"
user exrc file: "$HOME\_exrc"
2nd user exrc file: "$VIM\_exrc"
system gvimrc file: "$VIM\gvimrc"
user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32
-DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DWINVER=0x0400
-D_WIN32_WINNT=0x0400 /Fo.\ObjGOLYHTRi386/ /Ox /GL -DNDEBUG /Zl /MT
-DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_W32 -DDYNAMIC_ICONV
-DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl85.dll\"
-DDYNAMIC_TCL_VER=\"8.5\" -DFEAT_PYTHON -DDYNAMIC_PYTHON
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3
-DDYNAMIC_PYTHON3_DLL=\"python32.dll\" -DFEAT_PERL -DDYNAMIC_PERL
-DDYNAMIC_PERL_DLL=\"perl514.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY
-DDYNAMIC_RUBY_VER=19 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby192.dll\" -DFEAT_BIG
/Fd.\ObjGOLYHTRi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib
kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib
uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib winspool.lib
comctl32.lib advapi32.lib shell32.lib /machine:i386 /nodefaultlib libcmt.lib
oleaut32.lib user32.lib /nodefaultlib:python27.lib
/nodefaultlib:python32.lib "E:\tcl\lib\tclstub85.lib" WSock32.lib
xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug
Best,
Antonis
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.