Closed tehasdf closed 6 years ago
seems like a bug in jedi itself. shouldn't this fix land in daemon itself ?
That might be the case as well! I have no idea if an empty string is the correct output in this case. But in any case, I don't think segfaulting is the correct response to incorrect input. This should be fixed in ST, but all I can do to be able to use sublimejedi is to apply a workaround patch, and I just thought I'd share.
I can not reproduce it on ST3 so it's likely been fixed already. ST2 does not seem to be maintained anymore.
It seems Sublime Text 2 (build 2221) doesn't really like it when the completion list contains empty strings and segfaults. This originally happened to me when trying to complete arguments for timedelta. Steps to reproduce:
from datetime import timedelta
timedelta(ho
(as in hour, but minute and the rest might also work) and wait for the completion dropdown to appearHere's a minimal plugin that crashes ST2 for me:
I tried it on two systems, both were 64-bit ubuntu.