Mercurial > vim
view src/testdir/test_channel_6.py @ 31746:d3d3ed2c09f6 v9.0.1205
patch 9.0.1205: crash when handling class that extends another class
Commit: https://github.com/vim/vim/commit/ae3205aa55741152b0143dbd7d637b35f576793e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 15 20:49:00 2023 +0000
patch 9.0.1205: crash when handling class that extends another class
Problem: Crash when handling class that extends another class with more
than one object members.
Solution: Correct pointer computations. (closes #11824)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Jan 2023 22:00: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)