1
0
forked from VimPlug/jedi
Commit Graph

244 Commits

Author SHA1 Message Date
Dave Halter
193e04ae8e get rid of side effects in the interpreter if trying to use the index on an iterable (using __getitem__) 2014-04-07 16:11:23 +02:00
Dave Halter
79e2ec85cc implement slicing for __getitem__ with interpreter 2014-04-04 15:09:25 +02:00
Dave Halter
a6fbcde184 more detailed tests and implementation of array indexing in the interpreter 2014-04-04 13:22:12 +02:00
Dave Halter
50ef3c7fa3 implement __getitem__ access for CompiledObject 2014-04-04 12:59:16 +02:00
Dave Halter
b8987fe451 CompiledObject.get_index_types implementation example 2014-04-03 19:05:29 +02:00
Dave Halter
edb0bbd183 use defined_names also for modules, fixes symbol browsing issues - fixes #344 2014-04-02 13:48:27 +02:00
Dave Halter
305b593f3b create an is_callable method for all representation objects, to determine if something is callable or not 2014-04-02 09:42:15 +02:00
Dave Halter
72aa7f918f the type of a compiled object is also function, not def 2014-04-01 14:45:05 +02:00
Dave Halter
2ae5dad78b fix Definition.name API for params 2014-03-13 22:48:02 +01:00
Dave Halter
eaa56c47cc compiled params didn't have a param 2014-03-13 12:49:37 +01:00
Dave Halter
db1b73d423 lo and behold - reversed is implemented - the force is strong with this one. fixes #24 2014-03-11 11:04:00 +01:00
Dave Halter
62a14f7558 restructure NameFinder.filter_name a little bit 2014-03-10 15:57:01 +01:00
Dave Halter
cc667e76dc start_pos is usually not needed to search in modules, but if we generalize that, things get a lot slower - tests still pass - but the slowness is probably due to some weird recursion catching that now happens and that Jedi runs into, e.g. check ./run.py std 27 --debug 2014-03-10 00:40:57 +01:00
Dave Halter
ca460ac34f fixed a problem with docstrings that were empty (None), docstrings in Jedi are always strings. 2014-03-06 12:20:11 +01:00
Dave Halter
66a488b911 clean up parse_dot_name and other small things 2014-03-05 22:46:11 +01:00
Dave Halter
1f7e4ca637 dict literals are now working (at least the parser) 2014-03-05 18:46:43 +01:00
ColinDuquesnoy
725e55485a Add params property to compiled object 2014-02-26 13:53:09 +01:00
Dave Halter
3d7522dff6 fixed None type appearances in CompiledObject 2014-01-24 00:57:53 +01:00
Dave Halter
a1b68945ed fix some generator parents 2014-01-23 14:27:20 +01:00
Dave Halter
4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter
7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter
9e063b1248 started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better. 2014-01-21 23:35:21 +01:00
Dave Halter
717c4315df Remove Todos that didn't make sense. 2014-01-13 16:29:30 +01:00
Dave Halter
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
0c98c05cd3 use __import__ instead of exec_function (should have done that a long time ago) 2014-01-13 14:01:03 +01:00
Dave Halter
a96a2baf5b fix an issue with missing '__class__' methods e.g. in numpy 2014-01-13 02:30:10 +01:00
Dave Halter
c602dc1c40 modules like PyQt4.QtGui are now importable, because the import works again. used a code snippet from the old builtin plugin 2014-01-13 01:57:26 +01:00
Dave Halter
2bde6cde08 changing completion of python file objects 2014-01-12 18:07:58 +01:00
Dave Halter
c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter
7a0dc41b62 fixed doctest issues 2014-01-12 02:23:35 +01:00
Dave Halter
0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter
4006b231d3 fix a few last standing issues with integration tests. ok after running tests with tox i see that they are not the last issues... 2014-01-12 00:34:56 +01:00
Dave Halter
1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00
Dave Halter
c6a14a348e parent was wrongly used in _create_from_name 2014-01-11 16:04:05 +01:00
Dave Halter
bfe0c62e7f filter None (is more a keyword than a builtin object) 2014-01-11 15:58:14 +01:00
Dave Halter
fc35e69a16 adding helpers.FakeName and other fakes to make it easier to fake parser names and statements 2014-01-11 13:41:03 +01:00
Dave Halter
6f9d834a93 now able to execute instance subscopes on compiled 2014-01-11 13:01:09 +01:00
Dave Halter
28ab937eca in the process... 2014-01-11 02:55:50 +01:00
Dave Halter
19fa320c88 a hopefully simple integration of PyObject into Instance 2014-01-11 01:48:59 +01:00
Dave Halter
8337f77886 a few other small changes before changing compiled Instance execution to the representation 2014-01-11 01:19:09 +01:00
Dave Halter
32e39ef4ca fixing parents in compiled 2014-01-11 00:26:53 +01:00
Dave Halter
01c03966a7 make first faked compiled modules work 2014-01-10 23:35:58 +01:00
Dave Halter
78cc015b9d start introducing the compiled.fake module that fakes builtin code 2014-01-10 22:58:49 +01:00
Dave Halter
8854206f2a created a module for compiled 2014-01-10 16:37:28 +01:00