Skip to content

Commit 3c4ebeb

Browse files
committed
patch 8.0.0005
Problem: Netbeans test fails with Python 3. (Jonathonf) Solution: Encode the string before sending it. (closes #1070)
1 parent 5582ef1 commit 3c4ebeb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_netbeans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def handle(self):
5252
return
5353

5454
if len(response) > 0:
55-
self.request.sendall(response)
55+
self.request.sendall(response.encode('utf-8'))
5656
# Write the respoinse into the file, so that the test can knows
5757
# the command was sent.
5858
with open("Xnetbeans", "a") as myfile:

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
5,
767769
/**/
768770
4,
769771
/**/

0 commit comments

Comments
 (0)