1
0
forked from VimPlug/jedi
Commit Graph

158 Commits

Author SHA1 Message Date
David Halter
1e259c1c6e none positions shouldn't be an option, (0, 0) is the 'invalid' or 'generated' position for objects that are always found 2012-11-24 17:42:52 +01:00
David Halter
e921ec11e3 fixed a recursion problem, that occured with invalidate_star_imports 2012-11-24 15:43:05 +01:00
David Halter
e1d33f2b49 removed old code that caused exceptions in py3k 2012-11-24 14:33:30 +01:00
David Halter
4df89f0272 cleanup and last fixes -> fixes #68 2012-11-24 02:57:32 +01:00
David Halter
7be9b8d923 jedi understands type now, not the metaclass one, though 2012-11-24 02:30:50 +01:00
David Halter
4627e22a1c better understanding of isinstance in executions (temporary commit) 2012-11-24 02:10:21 +01:00
David Halter
b020a10053 refactored Script.complete (no changes to the api) 2012-11-23 00:28:08 +01:00
David Halter
3aeb9e0aeb private variables are not available outside of class for completion, fixes #56 2012-11-23 00:25:02 +01:00
David Halter
936f7f9fd5 private variables are not accessible anymore, but still completeable - fixes and tests for #56 2012-11-22 23:50:26 +01:00
David Halter
7d38fc6513 again method param access 2012-11-22 15:24:38 +01:00
David Halter
816d01b543 finally fixed the most prominent bug, that is being featured on the front page of github-jedi -> class methods shouldn't return their params as a completion 2012-11-22 13:01:00 +01:00
Akinori Hattori
1a93c64cd0 fix typo 2012-11-22 18:23:28 +09:00
David Halter
24b8942713 Script.complete: sorting with underlines as last arguments 2012-11-21 17:31:01 +01:00
David Halter
c706bae55b fixed star import invalidation exception 2012-11-21 16:58:22 +01:00
David Halter
576e53f771 a few pep8 improvements 2012-11-21 16:49:01 +01:00
David Halter
586dcc273c developed star import caching. useful for numpy/pylab/scipy... fixes jedi-vim issue 23 2012-11-21 16:47:31 +01:00
David Halter
890748ac9f star caching preparations 2012-11-21 13:45:38 +01:00
David Halter
395c5cd101 python 2.5 compatibility 2012-11-20 18:33:27 +01:00
David Halter
3474d481b6 faster get_in_function_call, may improve #34 2012-11-20 18:14:42 +01:00
David Halter
cfaff62d47 last commit was partially wrong 2012-11-20 17:17:16 +01:00
David Halter
3b2367a47a parts of code were executed even though they weren't required, related to #47 2012-11-20 16:48:51 +01:00
David Halter
1d3ee0237e remove RessourceWarning from Python3 tests 2012-11-20 15:56:15 +01:00
David Halter
8ce2633c06 Removed an ancient bug. Don't know why it's that easy this time. 2012-11-20 14:59:12 +01:00
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