1
0
forked from VimPlug/jedi
Commit Graph

441 Commits

Author SHA1 Message Date
Dave Halter
5eef23046b clean up 2014-03-11 11:38:08 +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
6c5e91da69 some code - just written for @dbrgn 2014-03-10 23:08:09 +01:00
Dave Halter
af7814c6d4 enable assignment operators and add substraction support for numbers 2014-03-10 16:51:47 +01:00
Dave Halter
62a14f7558 restructure NameFinder.filter_name a little bit 2014-03-10 15:57:01 +01:00
Dave Halter
4e314409c1 remove position argument of follow_path 2014-03-10 00:44:15 +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
35548cbf3c clean up the new _eval_statement_element method 2014-03-09 02:44:23 +01:00
Dave Halter
e2832e1172 fix multiplication of arrays with precedences 2014-03-09 02:23:38 +01:00
Dave Halter
61fa9b7fb4 start using precedences, working good with only a few test fails 2014-03-09 02:10:59 +01:00
Dave Halter
29cfdfeab1 precedence integration preparation 2014-03-08 23:43:29 +01:00
Dave Halter
65ce609a3c protect token_list -> _token_list 2014-03-04 12:43:37 +01:00
Dave Halter
1eba63760e more change to simplify the statement parser 2014-02-27 16:58:08 +01:00
Dave Halter
6577fa4336 just check for unicode, the parser doesn't know str anymore :) 2014-02-27 00:31:41 +01:00
Dave Halter
fdabca20e9 fix get_code method for Operator (still ugly, though) 2014-02-26 22:23:21 +01:00
Dave Halter
3330e29748 more problems fixed that relate to Operator 2014-02-26 22:08:51 +01:00
Dave Halter
2e12eb7861 start with the integration of an Operator class to make way for precedences 2014-02-26 14:44:51 +01:00
Dave Halter
600371632f NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts 2014-02-13 19:22:36 +01:00
Dave Halter
32ccec8447 precedence stuff is not working yet, but need to merge first because of potential parser changes 2014-02-12 11:08:48 +01:00
Dave Halter
cd1660dc53 first succeeding precedence tests 2014-01-31 11:12:28 +01:00
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
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
d5aa36cc69 replace propery with safe_property in some evaluate cases. fixes #249 2014-01-15 15:07:06 +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
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
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
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
9056dc1b9b fixed some array indexing 2014-01-09 19:55:00 +01:00
Dave Halter
0234c1429b fix a few more tracebacks 2014-01-09 17:54:40 +01:00
Dave Halter
f755e615c9 magic_method -> magic_function 2014-01-09 17:06:02 +01:00
Dave Halter
d2358c60b7 more builtin replacements with compiled 2014-01-09 02:02:33 +01:00
Dave Halter
0cb23dcfa2 tried to start introducing the compiled module to the library 2014-01-09 01:30:29 +01:00
Dave Halter
d71fe3061b better environment for compiled executions 2014-01-08 02:20:41 +01:00
Dave Halter
1a3541e3aa removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported) 2014-01-07 17:46:22 +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
ce207e6dbb goto shouldn't call names_to_types 2014-01-06 21:20:38 +01:00
Dave Halter
03ed2c8969 added names_to_types 2014-01-06 18:00:06 +01:00