Mercurial > vim
view src/testdir/test_channel_6.py @ 23448:8f31b990ab1e v8.2.2267
patch 8.2.2267: Vim9: cannot use unlet for a dict member
Commit: https://github.com/vim/vim/commit/c368957b1904bfaa2b0b52bbcade51b20173f3ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 1 19:40:02 2021 +0100
patch 8.2.2267: Vim9: cannot use unlet for a dict member
Problem: Vim9: cannot use unlet for a dict member.
Solution: Pass GLV_NO_DECL to get_lval(). (closes https://github.com/vim/vim/issues/7585)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Jan 2021 19:45:03 +0100 |
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)