Calling python print in a thread can segv vim.