Commit Graph

738 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
a4b8c720e7 re.compile returns string - tests for #68 2012-11-23 00:34:17 +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
David Halter
e60a4dde7b Merge pull request #67 from hattya/dev
fix typo
2012-11-22 03:11:37 -08: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
David Halter
e2d1d55274 Merge pull request #66 from tkf/no-ioerror
Ignore IOError when checking Python file
2012-11-20 05:03:55 -08: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
a7c806e96f added tests for magic methods 2012-11-19 12:13:07 +01:00
David Halter
9a53defeec added mro 2012-11-19 12:12:57 +01:00
David Halter
28665b28c1 again use cases #64 2012-11-18 23:38:38 +01:00
David Halter
9167633c1f add further use cases to README that are being ignored, fixes #64 2012-11-18 23:23:12 +01:00
David Halter
c1c2437fec added magic methods for classes with object 2012-11-18 22:52:09 +01:00
David Halter
932749b8e8 added tkf to contributors 2012-11-18 22:14:35 +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
c6cbe61538 a correct test for issue 29 of jedi-vim 2012-11-12 18:20:27 +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
80609a676b corrected a pylab test 2012-11-12 16:12:14 +01:00