|
Karsten Hopp |
a4d284 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a4d284 |
Subject: Patch 7.3.288
|
|
Karsten Hopp |
a4d284 |
Fcc: outbox
|
|
Karsten Hopp |
a4d284 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a4d284 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a4d284 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a4d284 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a4d284 |
------------
|
|
Karsten Hopp |
a4d284 |
|
|
Karsten Hopp |
a4d284 |
Patch 7.3.288
|
|
Karsten Hopp |
a4d284 |
Problem: has('python') may give an error message for not being able to load
|
|
Karsten Hopp |
a4d284 |
the library after using python3.
|
|
Karsten Hopp |
a4d284 |
Solution: Only give the error when the verbose argument is true.
|
|
Karsten Hopp |
a4d284 |
Files: src/if_python.c, src/if_python3.c
|
|
Karsten Hopp |
a4d284 |
|
|
Karsten Hopp |
a4d284 |
|
|
Karsten Hopp |
a4d284 |
*** ../vim-7.3.287/src/if_python.c 2011-06-19 00:27:46.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
--- src/if_python.c 2011-08-21 17:03:52.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
***************
|
|
Karsten Hopp |
a4d284 |
*** 368,374 ****
|
|
Karsten Hopp |
a4d284 |
* standard C extension libraries of one or both python versions. */
|
|
Karsten Hopp |
a4d284 |
if (python3_loaded())
|
|
Karsten Hopp |
a4d284 |
{
|
|
Karsten Hopp |
a4d284 |
! EMSG(_("E836: This Vim cannot execute :python after using :py3"));
|
|
Karsten Hopp |
a4d284 |
return FAIL;
|
|
Karsten Hopp |
a4d284 |
}
|
|
Karsten Hopp |
a4d284 |
#endif
|
|
Karsten Hopp |
a4d284 |
--- 368,375 ----
|
|
Karsten Hopp |
a4d284 |
* standard C extension libraries of one or both python versions. */
|
|
Karsten Hopp |
a4d284 |
if (python3_loaded())
|
|
Karsten Hopp |
a4d284 |
{
|
|
Karsten Hopp |
a4d284 |
! if (verbose)
|
|
Karsten Hopp |
a4d284 |
! EMSG(_("E836: This Vim cannot execute :python after using :py3"));
|
|
Karsten Hopp |
a4d284 |
return FAIL;
|
|
Karsten Hopp |
a4d284 |
}
|
|
Karsten Hopp |
a4d284 |
#endif
|
|
Karsten Hopp |
a4d284 |
*** ../vim-7.3.287/src/if_python3.c 2011-07-15 15:54:39.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
--- src/if_python3.c 2011-08-21 17:05:19.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
***************
|
|
Karsten Hopp |
a4d284 |
*** 367,373 ****
|
|
Karsten Hopp |
a4d284 |
* standard C extension libraries of one or both python versions. */
|
|
Karsten Hopp |
a4d284 |
if (python_loaded())
|
|
Karsten Hopp |
a4d284 |
{
|
|
Karsten Hopp |
a4d284 |
! EMSG(_("E837: This Vim cannot execute :py3 after using :python"));
|
|
Karsten Hopp |
a4d284 |
return FAIL;
|
|
Karsten Hopp |
a4d284 |
}
|
|
Karsten Hopp |
a4d284 |
# endif
|
|
Karsten Hopp |
a4d284 |
--- 367,374 ----
|
|
Karsten Hopp |
a4d284 |
* standard C extension libraries of one or both python versions. */
|
|
Karsten Hopp |
a4d284 |
if (python_loaded())
|
|
Karsten Hopp |
a4d284 |
{
|
|
Karsten Hopp |
a4d284 |
! if (verbose)
|
|
Karsten Hopp |
a4d284 |
! EMSG(_("E837: This Vim cannot execute :py3 after using :python"));
|
|
Karsten Hopp |
a4d284 |
return FAIL;
|
|
Karsten Hopp |
a4d284 |
}
|
|
Karsten Hopp |
a4d284 |
# endif
|
|
Karsten Hopp |
a4d284 |
*** ../vim-7.3.287/src/version.c 2011-08-27 15:10:00.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
--- src/version.c 2011-08-28 15:59:11.000000000 +0200
|
|
Karsten Hopp |
a4d284 |
***************
|
|
Karsten Hopp |
a4d284 |
*** 711,712 ****
|
|
Karsten Hopp |
a4d284 |
--- 711,714 ----
|
|
Karsten Hopp |
a4d284 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a4d284 |
+ /**/
|
|
Karsten Hopp |
a4d284 |
+ 288,
|
|
Karsten Hopp |
a4d284 |
/**/
|
|
Karsten Hopp |
a4d284 |
|
|
Karsten Hopp |
a4d284 |
--
|
|
Karsten Hopp |
a4d284 |
FIRST SOLDIER: So they wouldn't be able to bring a coconut back anyway.
|
|
Karsten Hopp |
a4d284 |
SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
|
|
Karsten Hopp |
a4d284 |
FIRST SOLDIER: No, they'd have to have it on a line.
|
|
Karsten Hopp |
a4d284 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
a4d284 |
|
|
Karsten Hopp |
a4d284 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a4d284 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a4d284 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a4d284 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|