1
0
forked from VimPlug/jedi
Commit Graph

135 Commits

Author SHA1 Message Date
Takafumi Arakaki
4a34d98967 Ignore IOError when checking Python file
Emacs uses a symbolic link to non-existing file for locking file.
It has the same extension as the original file.  Therefore, Jedi
must ignore IOError when trying to open this symbolic file.
2012-11-20 12:07:48 +01:00
David Halter
03f4dd5516 add magic methods also to non-object inheritances, also important for jedi-vim issue 32 2012-11-19 15:36:37 +01:00
David Halter
9a53defeec added mro 2012-11-19 12:12:57 +01:00
David Halter
c1c2437fec added magic methods for classes with object 2012-11-18 22:52:09 +01:00
David Halter
381b999eda extension for #61 2012-11-18 22:09:27 +01:00
David Halter
b12117eded add genericpath as an os.path mapping, #61 2012-11-18 20:29:49 +01:00
David Halter
bbcd822dd8 fixes python 2.5 problems 2012-11-18 02:49:11 +01:00
David Halter
580a4f4ab0 support for virtual envs, #36, fixes jedi-vim issue 31 2012-11-18 02:44:43 +01:00
David Halter
ed7c004881 fixed sys_path test 2012-11-18 02:34:32 +01:00
David Halter
afad39539a fix for api class problems 2012-11-18 01:25:46 +01:00
David Halter
95eab8e0d4 remove module_find_path, fixes #36 2012-11-18 01:17:12 +01:00
David Halter
5430d156ba added fullname for #61 2012-11-18 01:02:07 +01:00
David Halter
4adcc774c4 new api problems - fixes #62, #63 2012-11-17 23:12:17 +01:00
David Halter
cf233108d4 parsing.Module.name failed if path was an empty string -> fixes #60 2012-11-14 17:09:17 +01:00
David Halter
6a98aaf65d star imports of object imports were ignored, fixes #59 2012-11-13 11:22:35 +01:00
David Halter
ccec77025b debugging correction 2012-11-13 10:27:14 +01:00
David Halter
b70a642d28 some builtin modules have a very strange import behaviour. removes the stacktrace of #59 2012-11-12 18:50:58 +01:00
David Halter
5423dda8d3 multi line funcs with comments don't raise an error anymore - fixes jedi-vim issue 29 2012-11-12 18:07:25 +01:00
David Halter
9aaaffd56e forget to check if a method exists, fixes #44 2012-11-11 02:56:05 +01:00
David Halter
3e631f7980 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2012-11-11 02:49:44 +01:00
David Halter
3d1f67b8a0 better support for get_in_function_call - fixes #57 2012-11-11 02:48:33 +01:00
Takafumi Arakaki
817ab133d0 Fix the failing multibyte source test
The optional source_encoding optional argument is added to
jedi.api.Script.__init__.
2012-11-10 20:45:11 +01:00
Takafumi Arakaki
8b31117faf Add a test for multi-byte string source 2012-11-10 19:55:56 +01:00
David Halter
8dd9952288 added much nicer descriptions for the completion. fixes #49 2012-11-08 00:48:26 +01:00
David Halter
5c33b6c3c2 much shorter descriptions #49 2012-11-08 00:05:19 +01:00
David Halter
20ef1ffd18 restructured api_classes, use the same base class 2012-11-07 23:29:40 +01:00
David Halter
5550bb4c9a additional documentation, affects #28 2012-11-07 18:55:54 +01:00
David Halter
1d6dafbff4 moved all result classes to api_classes.py. 2012-11-07 18:41:22 +01:00
David Halter
2a1ac82e04 add documentation, why goto can return multiple objects -> fixes #42 2012-11-07 18:04:25 +01:00
David Halter
dbb36fd9fb the statement 'a=b=c' returned 'b' only and ignored 'a' - fixes #45 2012-11-07 17:54:45 +01:00
Takafumi Arakaki
cfd4bb6fc6 Use Function.doc from api.Definition.doc 2012-11-06 22:09:45 +01:00
Takafumi Arakaki
cffb3d2483 Refactoring: add Function.doc 2012-11-06 22:02:59 +01:00
David Halter
9650520f60 raw_doc additionally, for #53 2012-11-06 19:13:00 +01:00
David Halter
90a4a9240b Merge pull request #53 from tkf/call-signature-in-completion
Call signature in Completion.doc
2012-11-04 15:35:43 -08:00
David Halter
bfdfa67b97 reverse sys.path change once again, after sys.path library is loaded. 2012-11-04 13:14:24 +01:00
Takafumi Arakaki
5a20cd1665 Use AttributeError instead of hasattr 2012-11-04 11:26:06 +01:00
David Halter
6f8d477679 sys.path hack to be a fully compliant py3k library 2012-11-04 01:20:57 +01:00
Takafumi Arakaki
5c76b20434 Add call signature to Completion.doc 2012-11-03 23:57:31 +01:00
Takafumi Arakaki
5f25f244ca Add Function.get_call_signature 2012-11-03 23:41:31 +01:00
David Halter
7d39ccc360 better type description of completion 2012-11-03 23:19:33 +01:00
David Halter
5999bae6f6 removed next by accident 2012-11-02 18:40:36 +01:00
David Halter
4667ea5573 indentation reduced with iterator (see previous commit) 2012-11-02 18:34:15 +01:00
David Halter
740260b372 use iterators instead of some handmade crap in parsing.PyFuzzyParser (it is still a hack, however...) 2012-11-02 18:32:03 +01:00
David Halter
ed928d5d58 tokenize not needed anymore in _compatibility 2012-11-02 18:12:22 +01:00
David Halter
299f52c04b renamed BytesIO to StringIO, because it no longer made sense 2012-11-02 18:10:23 +01:00
David Halter
ee524eb2a9 again: try to use unicode, #52 2012-11-02 18:05:04 +01:00
David Halter
948b72d27f fix for #51 2012-11-02 17:01:33 +01:00
David Halter
0704873fd7 switched completely to unicode (in python2), fixes #52 2012-11-02 16:08:38 +01:00
David Halter
5dba06caa8 reenabled a test 2012-10-24 16:45:35 +02:00
David Halter
e6d9a0a745 restructured fast_parent_copy again 2012-10-23 18:23:26 +02:00