|
|
df7669 |
diff -up vim80/runtime/tools/demoserver.py.python3-tests vim80/runtime/tools/demoserver.py
|
|
|
df7669 |
--- vim80/runtime/tools/demoserver.py.python3-tests 2018-05-11 08:24:41.774618804 +0200
|
|
|
df7669 |
+++ vim80/runtime/tools/demoserver.py 2018-05-11 09:24:48.363309856 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Server that will accept connections from a Vim channel.
|
|
|
df7669 |
# Run this server and then in Vim you can open the channel:
|
|
|
df7669 |
diff -up vim80/src/auto/configure.python3-tests vim80/src/auto/configure
|
|
|
df7669 |
--- vim80/src/auto/configure.python3-tests 2018-05-11 08:25:03.632420873 +0200
|
|
|
df7669 |
+++ vim80/src/auto/configure 2018-05-11 09:25:26.062000471 +0200
|
|
|
df7669 |
@@ -6396,7 +6396,7 @@ eof
|
|
|
df7669 |
if test "x$MACOS_X" = "xyes" && test -n "${python_PYTHONFRAMEWORK}" && ${vi_cv_path_python} -c \
|
|
|
df7669 |
"import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
|
|
|
df7669 |
vi_cv_path_python_plibs="-framework Python"
|
|
|
df7669 |
- if test "x${vi_cv_path_python}" != "x/usr/bin/python" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
|
|
df7669 |
+ if test "x${vi_cv_path_python}" != "x/usr/bin/python2" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
|
|
df7669 |
vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
|
|
|
df7669 |
fi
|
|
|
df7669 |
else
|
|
|
df7669 |
diff -up vim80/src/configure.ac.python3-tests vim80/src/configure.ac
|
|
|
df7669 |
--- vim80/src/configure.ac.python3-tests 2018-05-11 08:25:26.070218957 +0200
|
|
|
df7669 |
+++ vim80/src/configure.ac 2018-05-11 09:26:01.603708243 +0200
|
|
|
df7669 |
@@ -1248,7 +1248,7 @@ eof
|
|
|
df7669 |
if test "x$MACOS_X" = "xyes" && test -n "${python_PYTHONFRAMEWORK}" && ${vi_cv_path_python} -c \
|
|
|
df7669 |
"import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
|
|
|
df7669 |
vi_cv_path_python_plibs="-framework Python"
|
|
|
df7669 |
- if test "x${vi_cv_path_python}" != "x/usr/bin/python" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
|
|
df7669 |
+ if test "x${vi_cv_path_python}" != "x/usr/bin/python2" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
|
|
df7669 |
vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
|
|
|
df7669 |
fi
|
|
|
df7669 |
else
|
|
|
df7669 |
diff -up vim80/src/testdir/test_channel_pipe.py.python3-tests vim80/src/testdir/test_channel_pipe.py
|
|
|
df7669 |
--- vim80/src/testdir/test_channel_pipe.py.python3-tests 2018-05-11 09:23:05.738146018 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_channel_pipe.py 2018-05-11 09:26:37.354413350 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Server that will communicate over stdin/stderr
|
|
|
df7669 |
#
|
|
|
df7669 |
diff -up vim80/src/testdir/test_channel.py.python3-tests vim80/src/testdir/test_channel.py
|
|
|
df7669 |
--- vim80/src/testdir/test_channel.py.python3-tests 2018-05-11 09:22:48.522284266 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_channel.py 2018-05-11 09:26:17.762574955 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Server that will accept connections from a Vim channel.
|
|
|
df7669 |
# Used by test_channel.vim.
|
|
|
df7669 |
diff -up vim80/src/testdir/test_channel_write.py.python3-tests vim80/src/testdir/test_channel_write.py
|
|
|
df7669 |
--- vim80/src/testdir/test_channel_write.py.python3-tests 2018-05-11 09:23:21.254021422 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_channel_write.py 2018-05-11 09:26:54.952268193 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Program that writes a number to stdout repeatedly
|
|
|
df7669 |
#
|
|
|
df7669 |
diff -up vim80/src/testdir/test_makeencoding.py.python3-tests vim80/src/testdir/test_makeencoding.py
|
|
|
df7669 |
--- vim80/src/testdir/test_makeencoding.py.python3-tests 2018-05-11 09:23:38.990878990 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_makeencoding.py 2018-05-11 09:27:14.402107759 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
# -*- coding: utf-8 -*-
|
|
|
df7669 |
|
|
|
df7669 |
# Test program for :make, :grep and :cgetfile.
|
|
|
df7669 |
diff -up vim80/src/testdir/test_netbeans.py.python3-tests vim80/src/testdir/test_netbeans.py
|
|
|
df7669 |
--- vim80/src/testdir/test_netbeans.py.python3-tests 2018-05-11 09:23:54.398752732 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_netbeans.py 2018-05-11 09:27:30.489975057 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Server that will communicate with Vim through the netbeans interface.
|
|
|
df7669 |
# Used by test_netbeans.vim.
|
|
|
df7669 |
diff -up vim80/src/testdir/test_short_sleep.py.python3-tests vim80/src/testdir/test_short_sleep.py
|
|
|
df7669 |
--- vim80/src/testdir/test_short_sleep.py.python3-tests 2018-05-11 09:24:09.134631798 +0200
|
|
|
df7669 |
+++ vim80/src/testdir/test_short_sleep.py 2018-05-11 09:27:48.432827053 +0200
|
|
|
df7669 |
@@ -1,4 +1,4 @@
|
|
|
df7669 |
-#!/usr/bin/python
|
|
|
df7669 |
+#!/usr/bin/python3
|
|
|
df7669 |
#
|
|
|
df7669 |
# Program that sleeps for 100 msec
|
|
|
df7669 |
#
|