1
0
forked from VimPlug/jedi
Commit Graph

104 Commits

Author SHA1 Message Date
Dave Halter
5ed887c170 precautionary fix without test (sith.py didn't reproduce it), in execution detection. 2014-04-30 12:21:18 +02:00
Dave Halter
23b4a89d1d slices should be ignored in __getitem__ settings (for now) 2014-04-28 18:15:25 +02:00
Dave Halter
d106b2ce2b __getattr__ arbitrary returns fix 2014-04-27 23:15:32 +02:00
Dave Halter
77d505e251 eval_statement input shouldn't be a NamePart, but a string 2014-04-22 11:33:46 +02:00
Dave Halter
27f01ca1f6 use Param.stars to avoid certain syntax error params to cause an exception 2014-04-20 13:38:10 +02:00
Dave Halter
240b0c9581 NamePart doesn't have an __eq__ method anymore 2014-04-18 14:36:10 +02:00
Dave Halter
b81eb9f8b3 NameFinder.filter_name is simpler now. 2014-04-14 13:45:31 +02:00
Dave Halter
6a40c9b671 remove get_set_vars completely from existance 2014-04-14 12:40:59 +02:00
Dave Halter
4c53a64ca0 increase speed again for compiled objects by not using sorted + lambda on its list of defined names 2014-04-14 10:12:46 +02:00
Dave Halter
4bc55be103 significant speedup due to compiled caching 2014-04-13 16:31:38 +02:00
Dave Halter
6de46fe373 realizing that #241 is more of a feature than a bug, I disabled the corresponding test. This will be changed once the whole implementation of isinstance becomes more flexible and also allows checks on subclasses, so that no information is lost. 2014-04-09 16:27:42 +02:00
Dave Halter
b680246195 docstring working for local definitions as well 2014-03-27 12:34:53 +01:00
Dave Halter
394e2e77de refactored the development docs, which was badly needed especially since evaluate/dynamic.py doesn't contain a lot of functionality anymore. 2014-03-11 17:26:38 +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
52348e0d1b delete unnecessary checks from filter 2014-03-10 16:12:17 +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
5f8f1e170b moved global variables handling 2014-03-05 01:19:18 +01:00
Dave Halter
2322edff8f keyword statement not includes globals 2014-03-05 00:44:19 +01:00
Dave Halter
65ce609a3c protect token_list -> _token_list 2014-03-04 12:43:37 +01:00
Dave Halter
9257062910 remove NoErrorTokenizer dependency for all but the fast parsers 2014-02-24 10:31:15 +01:00
Dave Halter
8e847f4982 fix python 2.7 issues. the parser now only takes unicode inputs 2014-02-23 11:44:32 +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
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
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
14c9ed88ca fixed the getattr/__getattr__ stuff 2014-01-10 15:14:55 +01:00
Dave Halter
f868668f0e trying to fix the getattr mess with compiled 2014-01-10 13:36:29 +01:00
Dave Halter
d2358c60b7 more builtin replacements with compiled 2014-01-09 02:02:33 +01:00
Dave Halter
69afc2482a nicer _remove_statements 2014-01-07 13:25:30 +01:00
Dave Halter
a3e4b209c7 _remove_statements beautified 2014-01-07 12:19:05 +01:00
Dave Halter
35640abd82 split param stuff from remove_statements - which is now finally a simple method 2014-01-07 12:02:33 +01:00
Dave Halter
66ec389f5c make _remove_statements smaller 2014-01-07 11:32:20 +01:00
Dave Halter
821d2b9220 remove some recursion 2014-01-07 11:28:01 +01:00
Dave Halter
546a7bbad9 merged _some_method and _remove_statements 2014-01-07 10:53:53 +01:00
Dave Halter
d1a4eccf13 prepare merging of some_method and remove_statement 2014-01-07 00:54:45 +01:00
Dave Halter
bbc15d4349 moved some NameFinder methods around 2014-01-07 00:38:43 +01:00
Dave Halter
a66589161d remove is_goto parameters from NameFinder - yay, finally reached a first longtime goal 2014-01-07 00:25:02 +01:00
Dave Halter
d38c4f7482 split is_array_assignment and no_break_scope calculations 2014-01-07 00:11:25 +01:00
Dave Halter
41eb305d41 removed another whole lot of code previously added as a hack and try/error 2014-01-06 23:54:11 +01:00
Dave Halter
453421395f reduced the first process method 2014-01-06 23:46:23 +01:00
Dave Halter
292fb010ca improve the hack (still not passing tests) 2014-01-06 23:16:15 +01:00
Dave Halter
51abedcae1 trying to get some NameFinder things refactored, by adding huge hacks (I hope to remove them later). 2014-01-06 23:11:35 +01:00
Dave Halter
ce207e6dbb goto shouldn't call names_to_types 2014-01-06 21:20:38 +01:00
Dave Halter
8e982bf25c move __getattr__ checks 2014-01-06 20:43:24 +01:00
Dave Halter
17c18aba98 lambdas should only exist if not named 2014-01-06 20:31:49 +01:00
Dave Halter
03ed2c8969 added names_to_types 2014-01-06 18:00:06 +01:00
Dave Halter
a10f34ab1c move dynamic flow stuff to finder 2014-01-06 16:38:21 +01:00
Dave Halter
117a9d8cf2 simplified flowscope stuff again 2014-01-06 16:35:15 +01:00
Dave Halter
3f80de34e3 move flowscope stuff to the right place 2014-01-06 16:27:58 +01:00