1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| | To: vim_dev@googlegroups.com
Subject: Patch 8.0.0005
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 8.0.0005
Problem: Netbeans test fails with Python 3. (Jonathonf)
Solution: Encode the string before sending it. (closes #1070)
Files: src/testdir/test_netbeans.py
*** vim80/src/testdir/test_netbeans.py 2016-09-09 15:27:58.000000000 +0200
--- vim80/src/testdir/test_netbeans.py 2016-09-14 22:22:03.574860055 +0200
***************
*** 52,58 ****
return
if len(response) > 0:
! self.request.sendall(response)
# Write the respoinse into the file, so that the test can knows
# the command was sent.
with open("Xnetbeans", "a") as myfile:
--- 52,58 ----
return
if len(response) > 0:
! 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:
*** vim80/src/version.c 2016-09-14 22:16:09.863803610 +0200
--- vim80/src/version.c 2016-09-14 22:22:39.922351477 +0200
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 5,
/**/
--
|