view src/testdir/test_channel_6.py @ 24699:b19c8150ee9d v8.2.2888

patch 8.2.2888: Vim9: "k" command recognized in Vim9 script Commit: https://github.com/vim/vim/commit/7d840e9ac7529ec144e103d2a13abce8aa8c1ff1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 26 21:10:11 2021 +0200 patch 8.2.2888: Vim9: "k" command recognized in Vim9 script Problem: Vim9: "k" command recognized in Vim9 script. Solution: Do not recognize "k" or "s" and "d" with flags.
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 May 2021 21:15:03 +0200
parents e373843e2980
children
line wrap: on
line source

#!/usr/bin/env python
#
# Server that will accept connections from a Vim channel.
# Used by test_channel.vim.
#
# This requires Python 2.6 or later.

from test_channel import main, ThreadedTCPServer
import socket

class ThreadedTCP6Server(ThreadedTCPServer):
    address_family = socket.AF_INET6

if __name__ == "__main__":
    main("::", 0, ThreadedTCP6Server)