Closed ramonski closed 4 years ago
@proofit404 you can just close this issue whenever you like.
I just wanted to drop a note, because I think that Python scripts (et al.) manipulating the sys.path
on module load (runtime) slow down the completion in Jedi until the timeout is reached in anaconda-mode
.
Hi all
This is rather a place to drop the findings I just gained (which might affect others as well) than an actual issue: https://github.com/davidhalter/jedi/issues/1325
TL;DR: Python scripts inside the
bin
directory are automatically added to thesys.path
. If these scripts modify thesys.path
as well, e.g.:the whole process hangs and the ´anaconda-response´ shows up an error "Can't read anaconda-mode server response" after the timeout (I think 30s).
Maybe this is helpful for someone, because I was searching ages to find this out...