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


*** ../vim-8.0.0004/src/testdir/test_netbeans.py        2016-09-09 
15:27:58.000000000 +0200
--- 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:
*** ../vim-8.0.0004/src/version.c       2016-09-14 22:16:09.863803610 +0200
--- src/version.c       2016-09-14 22:22:39.922351477 +0200
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     5,
  /**/

-- 
In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
of them are to be found in the United States.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui