1
0
forked from VimPlug/jedi
Commit Graph

1209 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
c8fffbd7b6 fix python2.6 issues with completing colorama. this happened because of a missing object parent class 2014-01-22 17:14:28 +01:00
Dave Halter
c7cae7900b remove old interpret.py 2014-01-22 16:34:05 +01:00
Dave Halter
7b1c35c3ed fix python 3 issues with the new interpreter implementation 2014-01-22 16:33:00 +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
aa59aee3dc user_position removed from Parser. yikes! 2014-01-17 02:58:03 +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
fc1899ecd4 implement user_scope search separately in UserContextParser 2014-01-17 02:08:37 +01:00
Dave Halter
33b7c341ab minor changes 2014-01-17 01:40:30 +01:00
Dave Halter
8b34e120e0 for loops are now parsed even if they are really faulty and don't end. 2014-01-17 01:39:23 +01:00
Dave Halter
92eba44d07 allow for flows to also be very faulty 2014-01-17 01:26:34 +01:00
Dave Halter
e5d40c3685 flow syntax errors should still make it possible to add them to the parser (otherwise parser doesn't include all the code 2014-01-17 01:15:36 +01:00
Dave Halter
3337d638d1 fix some colorama/pytest combo crazyness 2014-01-17 01:02:50 +01:00
Dave Halter
588fbea4f9 start to remove user_stmt parsing 2014-01-17 00:25:30 +01:00
Dave Halter
6ef75256e0 fix end_pos stuff for fast parser 2014-01-17 00:24:45 +01:00
Dave Halter
4bf72eeaed create a customized UserContextParser for user_stmt and user_scope 2014-01-16 12:12:21 +01:00
Dave Halter
134cd234de moved user_stmt up in api 2014-01-15 17:35:40 +01:00
Dave Halter
059b1e1353 underscore_memoization is now even easier in fast parser 2014-01-15 15:57:43 +01:00
Dave Halter
d71cdded6e some easier memoization for fast parser 2014-01-15 15:48:16 +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
a6e49f2680 compatibility improvements -> use reduce from functools 2014-01-14 11:31:01 +01:00
Dave Halter
8bf8985247 move replstartup to the api 2014-01-14 00:08:25 +01:00
Dave Halter
a44ce6b7df beautify __main__ 2014-01-14 00:06:01 +01:00
Dave Halter
a9efa3db33 make utils feel more pythonic 2014-01-14 00:02:09 +01:00
Dave Halter
b2507ad94a increase the pickling version. 2014-01-13 23:00:01 +01:00
Dave Halter
0c4a86acfd version bump to 0.8.0, we should make a release again 2014-01-13 21:49:00 +01:00
Dave Halter
7dff41c6b7 added a utils.version_info function to make it easy to check Jedi's version. #350 2014-01-13 21:40:16 +01:00
Dave Halter
bf427fb312 use a string instead of a tuple for __version__, this behaviour is defined in a pep somewhere (maybe pep8). fixes #350 2014-01-13 21:34:30 +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
157f76a55d keywords should be part of the api package 2014-01-13 14:24:34 +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