Mercurial > vim
changeset 10209:3bb89aba6064 v8.0.0005
commit https://github.com/vim/vim/commit/3c4ebeba17399e4ef33d004c269e667f696f0eb6
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 15 Sep 2016 11:45:06 +0200 |
parents | 39c5f03a0e77 |
children | 2720a028af30 |
files | src/testdir/test_netbeans.py src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: