Hi,
As said in help for pythonthreedll, I set pythonthreedll=python37.dll same name
as DYNAMIC_PYTHON3_DLL default at compiled time. I put its path into $path in
$MYVIMRC
1/ ok then, once gvim is compiled, I broke python37 distro
path.(c:\thirdPartTools\python37)
:echo system("where python37.dll") returns path pythonthreedll described above
:echo has("python3") returns 1 => ok
:python3 print("test") crash gvim 8.0.1428 64bits under windows 10.
2/ restablish python37 distro path
:python3 print("test") => echoes test
Thank you in advance
Niva
¤ Help
'pythonthreedll' string (default depends on the build)
global
{not in Vi}
{only available when compiled with the |+python3/dyn|
feature}
Specifies the name of the Python 3 shared library. The default is
DYNAMIC_PYTHON3_DLL, which was specified at compile time.
Environment variables are expanded |:set_env|.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
¤ Configure compiled:
:: Enable Lua
set DYNAMIC_LUA=yes
set LUA=.\lua-5.3.4\src
set LUA_VER=53
:: Enable Python scripting
set DYNAMIC_PYTHON=yes
set PYTHON=C:\ThirdPartTools\Python27
set PYTHON_VER=27
set DYNAMIC_PYTHON3=yes
set PYTHON3=C:\ThirdPartTools\Python37
set PYTHON3_VER=37
:: Enable Ruby scripting
set DYNAMIC_RUBY=yes
set RUBY=C:\Ruby24-x64
set RUBY_VER=24
set RUBY_API_VER_LONG=2.4.0
set RUBY_PLATFORM=x64-mswin64_140
set RUBY_MSVCRT_NAME=msvcrt
:: Enable Python scripting
set EVENT_LOOP=yes
¤ Vim version:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 11 2018 22:36:16)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-1428
Huge version with GUI. Features included (+) or not (-):
+acl +clientserver +dialog_con_gui +file_in_path
+keymap +modify_fname -perl +scrollbind
-termguicolors +visual -xterm_save
+arabic +clipboard +diff +find_in_path
+lambda +mouse +persistent_undo +signs
+terminal +visualextra
+autocmd +cmdline_compl +digraphs +float
+langmap +mouseshape -postscript +smartindent
-tgetent +viminfo
+autoservername +cmdline_hist +directx +folding
+libcall +multi_byte +printer +startuptime
-termresponse +vreplace
+balloon_eval +cmdline_info -dnd -footer
+linebreak +multi_lang +profile +statusline
+textobjects +wildignore
-balloon_eval_term +comments -ebcdic +gettext/dyn
+lispindent -mzscheme +python/dyn -sun_workshop
+timers +wildmenu
+browse +conceal +emacs_tags -hangul_input
+listcmds -netbeans_intg +python3/dyn +syntax
+title +windows
++builtin_terms +cryptv +eval +iconv/dyn
+localmap +num64 +quickfix +tag_binary
+toolbar +writebackup
+byte_offset -cscope +ex_extra +insert_expand
+lua/dyn +ole +reltime +tag_old_static
+user_commands -xfontset
+channel +cursorbind +extra_search +job
+menu +packages +rightleft -tag_any_white
+vertsplit -xim
+cindent +cursorshape +farsi +jumplist
+mksession +path_extra +ruby/dyn -tcl
+virtualedit -xpm_w32
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"
defaults file: "$VIMRUNTIME\defaults.vim"
system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32
-DFEAT_TERMINAL -DFEAT_JOB_CHANNEL -DWINVER=0x0501 -D_WIN32_WINNT=0x0501
/MP -DHAVE_STDINT_H /O2 /GL -DNDEBUG /Zl /MT -DFEAT_OLE -DFEAT_MBYTE
-DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI
-DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_LUA -DDYNAMIC_LUA
-DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3
-DDYNAMIC_PYTHON3_DLL=\"python37.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY
-DDYNAMIC_RUBY_VER=24 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DFEAT_HUGE
/Fd.\ObjGXOUYHRAMD64/ /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:AMD64 gdi32.lib version.lib winspool.lib comctl32.lib
advapi32.lib shell32.lib /machine:AMD64 libcmt.lib oleaut32.lib user32.lib
/nodefaultlib:lua53.lib /nodefaultlib:python27.lib /nodefaultlib:python37.lib
WSock32.lib /PDB:gvim.pdb -debug
Thank you
Niva
--
--
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/d/optout.