# HG changeset patch # User Christian Brabandt # Date 1473932706 -7200 # Node ID 3bb89aba6064c8813fb25c6f58836fef746fb03f # Parent 39c5f03a0e77c639692ed4a770f2c422306b8bd2 commit https://github.com/vim/vim/commit/3c4ebeba17399e4ef33d004c269e667f696f0eb6 Author: Bram Moolenaar Date: Thu Sep 15 11:44:27 2016 +0200 patch 8.0.0005 Problem: Netbeans test fails with Python 3. (Jonathonf) Solution: Encode the string before sending it. (closes https://github.com/vim/vim/issues/1070) diff --git a/src/testdir/test_netbeans.py b/src/testdir/test_netbeans.py --- a/src/testdir/test_netbeans.py +++ b/src/testdir/test_netbeans.py @@ -52,7 +52,7 @@ class ThreadedTCPRequestHandler(socketse return if len(response) > 0: - self.request.sendall(response) + self.request.sendall(response.encode('utf-8')) # Write the respoinse into the file, so that the test can knows # the command was sent. with open("Xnetbeans", "a") as myfile: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5, +/**/ 4, /**/ 3,