Mercurial > vim
view src/testdir/test_channel_write.py @ 23289:ac701146c708 v8.2.2190
patch 8.2.2190: Vim9: crash when compiled with EXITFREE
Commit: https://github.com/vim/vim/commit/077a42318c20ec9e71250edd8c4346edef72281b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 22 18:33:27 2020 +0100
patch 8.2.2190: Vim9: crash when compiled with EXITFREE
Problem: Vim9: crash when compiled with EXITFREE.
Solution: Check that df_ufunc is not NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Dec 2020 18:45:03 +0100 |
parents | 5cd9ba96561d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that writes a number to stdout repeatedly # # This requires Python 2.6 or later. from __future__ import print_function import sys import time if __name__ == "__main__": done = 0 while done < 10: done = done + 1 print(done) sys.stdout.flush() time.sleep(0.05) # sleep 50 msec