This crashes my vim:

function! PyCrash()
python << EOF
import sys
sys.path.append("c:\\python23\\lib")
from threading import Thread
import vim

def f():
        vim.command("copen")

t = Thread(target=f)
t.start()
EOF
endfunc

"" crash!
call PyCrash()

Does anyone know why?  I mean, granted vim.command might not be
thread-safe but it most certainly shouldn't crash.

Chuck

Reply via email to