To: vim_dev@googlegroups.com Subject: Patch 8.0.1436 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1436 Problem: Not enough information about what Python version may work. Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and "python3_dynamic" values for has(). Files: src/evalfunc.c, runtime/eval.txt *** ../vim-8.0.1435/src/evalfunc.c 2017-12-25 13:44:38.340448557 +0100 --- src/evalfunc.c 2018-01-28 17:31:21.635870833 +0100 *************** *** 5916,5928 **** #ifdef FEAT_PERSISTENT_UNDO "persistent_undo", #endif ! #if defined(FEAT_PYTHON) && !defined(DYNAMIC_PYTHON) "python", "pythonx", #endif ! #if defined(FEAT_PYTHON3) && !defined(DYNAMIC_PYTHON3) "python3", "pythonx", #endif #ifdef FEAT_POSTSCRIPT "postscript", --- 5916,5938 ---- #ifdef FEAT_PERSISTENT_UNDO "persistent_undo", #endif ! #if defined(FEAT_PYTHON) ! "python_compiled", ! # if defined(DYNAMIC_PYTHON) ! "python_dynamic", ! # else "python", "pythonx", + # endif #endif ! #if defined(FEAT_PYTHON3) ! "python3_compiled", ! # if defined(DYNAMIC_PYTHON3) ! "python3_dynamic", ! # else "python3", "pythonx", + # endif #endif #ifdef FEAT_POSTSCRIPT "postscript", *** ../vim-8.0.1435/runtime/doc/eval.txt 2017-12-19 11:54:59.722923351 +0100 --- runtime/doc/eval.txt 2018-01-28 17:35:12.046348194 +0100 *************** *** 8952,8959 **** postscript Compiled with PostScript file printing. printer Compiled with |:hardcopy| support. profile Compiled with |:profile| support. ! python Compiled with Python 2.x interface. |has-python| ! python3 Compiled with Python 3.x interface. |has-python| pythonx Compiled with |python_x| interface. |has-pythonx| qnx QNX version of Vim. quickfix Compiled with |quickfix| support. --- 9009,9020 ---- postscript Compiled with PostScript file printing. printer Compiled with |:hardcopy| support. profile Compiled with |:profile| support. ! python Python 2.x interface available. |has-python| ! python_compiled Compiled with Python 2.x interface. |has-python| ! python_dynamic Python 2.x interface is dynamically loaded. |has-python| ! python3 Python 3.x interface available. |has-python| ! python3_compiled Compiled with Python 3.x interface. |has-python| ! python3_dynamic Python 3.x interface is dynamically loaded. |has-python| pythonx Compiled with |python_x| interface. |has-pythonx| qnx QNX version of Vim. quickfix Compiled with |quickfix| support. *** ../vim-8.0.1435/src/version.c 2018-01-28 17:05:12.413577503 +0100 --- src/version.c 2018-01-28 17:36:59.645529807 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1436, /**/ -- Two fish in a tank. One says to the other: "Do you know how to drive this thing?" /// Bram Moolenaar -- Bram@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 ///