To: vim_dev@googlegroups.com Subject: Patch 8.2.0702 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0702 Problem: Running channel tests may leave running process behind. Solution: Make Python client exit when running into EOF. (Kurtis Rader, part of #6046) Files: src/testdir/test_channel_pipe.py *** ../vim-8.2.0701/src/testdir/test_channel_pipe.py 2019-02-10 22:16:00.000000000 +0100 --- src/testdir/test_channel_pipe.py 2020-05-06 19:34:57.676663189 +0200 *************** *** 29,34 **** --- 29,36 ---- while True: typed = sys.stdin.readline() + if typed == "": # EOF -- stop + break if typed.startswith("quit"): print("Goodbye!") sys.stdout.flush() *** ../vim-8.2.0701/src/version.c 2020-05-05 23:32:54.556322970 +0200 --- src/version.c 2020-05-06 19:36:58.980196817 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 702, /**/ -- Master: Boy, there is nothing more for you to learn Student: I didn't know that! /// Bram Moolenaar -- Bram@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 ///