Mercurial > vim
view src/testdir/test_short_sleep.py @ 19297:84703c85a583 v8.2.0207
patch 8.2.0207: crash when missing member type on list argument
Commit: https://github.com/vim/vim/commit/bfe12043128d75585749f82aebbf4cdd1a7dfe31
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 4 21:54:07 2020 +0100
patch 8.2.0207: crash when missing member type on list argument
Problem: Crash when missing member type on list argument.
Solution: Check for invalid type. (closes https://github.com/vim/vim/issues/5572)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Feb 2020 22:00:05 +0100 |
parents | 191ccece2f5d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that sleeps for 100 msec # # This requires Python 2.6 or later. import time if __name__ == "__main__": time.sleep(0.1) # sleep 100 msec