1
0
forked from VimPlug/jedi
Commit Graph

162 Commits

Author SHA1 Message Date
Dave Halter
3d7522dff6 fixed None type appearances in CompiledObject 2014-01-24 00:57:53 +01:00
Dave Halter
e587b876b6 tests and improvements for __next__ and send generator methods 2014-01-23 20:02:36 +01:00
Dave Halter
162d794081 underscore_decorators now automatically convert generators to lists 2014-01-23 15:21:52 +01:00
Dave Halter
6f2c1397b0 autocompletion diggs now pretty deep for generator objects 2014-01-23 14:39:00 +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
97ad1c6a29 moved get_names_for_scope to finder 2014-01-17 11:33:46 +01:00
Dave Halter
de6a6b5813 avoid more import recursion - moved assign_tuples and find_assignments to finder module 2014-01-17 11:12:41 +01:00
Dave Halter
cd40e213ce Remove UserContextParser again from docstring stuff, not really needed there. use a simpler solution 2014-01-17 03:06:07 +01:00
Dave Halter
19b0e1d5b6 reenable check_user_statement in parser, that did the whole user names calculation 2014-01-17 02:48:00 +01:00
Dave Halter
b30a186f8f remove user_stmt and user_scope stuff - yes! 2014-01-17 02:34:09 +01:00
Dave Halter
d5aa36cc69 replace propery with safe_property in some evaluate cases. fixes #249 2014-01-15 15:07:06 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
cdd356ff9b removed pr.String and pr.Number in favor of the more general pr.Literal 2014-01-13 16:47:01 +01:00
Dave Halter
717c4315df Remove Todos that didn't make sense. 2014-01-13 16:29:30 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
cf0a2e8c2e use FakeStatement instead of strange Statement constructions 2014-01-13 14:14:04 +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
e56a0cf544 docstring was sometimes empty for faked modules 2014-01-13 02:58:10 +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
b2d99be3ee delete old builtin code 2014-01-12 19:23:37 +01:00
Dave Halter
4b319ad817 fix a docstr issue 2014-01-12 19:22:31 +01:00
Dave Halter
dfb494b9c4 finally able to delete the old builtin stuff 2014-01-12 18:22:33 +01:00
Dave Halter
860aa50192 renamed fake/_io.pym to io.pym and fixed some other 'fake' issues 2014-01-12 18:17:00 +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
e4f3f5bea2 fix recursion issue with compiled classes 2014-01-12 14:28:42 +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
b93c761db6 after fixing private variable filtering it looks much better 2014-01-12 01:11: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
d430ef53a7 fix a few more minor issues 2014-01-11 16:14:58 +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
e7c7bbca79 simple debugging improvement - make it more readable by giving it an indent 2014-01-11 01:58:31 +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
400b0a4aa7 move mixin to compiled/fake to structure it better 2014-01-10 16:38:13 +01:00
Dave Halter
8854206f2a created a module for compiled 2014-01-10 16:37:28 +01:00