thinca / vim-ref

Integrated reference viewer.
204 stars 39 forks source link

Should use timeout with vimproc ("pydoc -k ." hangs) #36

Open blueyed opened 10 years ago

blueyed commented 10 years ago

For whatever reason, the pydoc -k . command hangs on my system [1].

The vimproc process should have a timeout like 30-60 seconds therefore, via vimproc#system(). If possible, the timeout should only begin, if there is no more output from pydoc, and could be shorter then.

It also happens without using vimproc. In this case nothing could be done probably (there is no timeout feature available then, is it?)

1: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1280114