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 -- [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    ///

-- 
-- 
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.

Raspunde prin e-mail lui