Can source_path be optional for small source? How about source_path=None meaning "do not cache". For example it will be useful when using with IPython Notebook (https://github.com/tkf/emacs-ipython-notebook), as there is no actual Python file when writing code in the notebook.
For the time being, just use it as an empty string. It may cause problems in some minor cases. But I will try to modify the interface (duration ~1-2 weeks). Just note that without a path there will be less caching.
Thanks. Typical case I have in mind is less than 10 lines. Will it be too slow? I can send something like uuid if it can be used for source_path.
No, that will definitely not be slow. I talk about files > 300 lines.
Sorry, commit was wrong, it's supposed to solve parts of jedi-vim issue 32.