Dave Halter
|
d5758adb2b
|
fix list comprehensions. they were not implemented in a good way
|
2014-06-12 11:10:10 +02:00 |
|
Dave Halter
|
f8b79b3dd0
|
work in progress refactoring to make ListComprehension a sublass of ForFlow
|
2014-06-12 10:13:49 +02:00 |
|
Dave Halter
|
43e54b6173
|
list comprehensions should be able to serve as an input for dynamic params as well.
|
2014-06-11 21:54:18 +02:00 |
|
Dave Halter
|
081fa79d9b
|
fix issues with generator comprehensions used directly with a send() call or something similar
|
2014-06-10 00:56:51 +02:00 |
|
Dave Halter
|
af801ef9b4
|
make generator comprehensions work
|
2014-06-10 00:36:36 +02:00 |
|
Dave Halter
|
0b926ca454
|
get rid of is_list_comp boolean in favor of a direct check of ListComprehensionFlow
|
2014-06-09 20:19:31 +02:00 |
|
Dave Halter
|
dd8e4341db
|
create a ListComprehensionFlow, to make the distinction between ForFlow and list comprehensions clearer
|
2014-06-09 20:09:53 +02:00 |
|
Dave Halter
|
9bcc4f8fd2
|
static analysis is now able to tell the difference between NameError/AttributeError
|
2014-05-13 16:14:32 +02:00 |
|
Dave Halter
|
b6ec589997
|
refactor general array lookup method get_index_types
|
2014-05-12 15:23:48 +02:00 |
|
Dave Halter
|
70d85d1b3a
|
strip_imports -> follow_imports
|
2014-05-12 11:18:47 +02:00 |
|
Dave Halter
|
9eb75f9c61
|
static analysis prototype decription
|
2014-05-07 12:39: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
|
70efa159f2
|
fix for slices which have been screwed up in a few previous commits... again...
|
2014-04-22 10:21:15 +02:00 |
|
Dave Halter
|
eaf54942fc
|
fix a slice issue with precedences.
|
2014-04-21 02:30:17 +02:00 |
|
Dave Halter
|
240b0c9581
|
NamePart doesn't have an __eq__ method anymore
|
2014-04-18 14:36:10 +02:00 |
|
Dave Halter
|
6a40c9b671
|
remove get_set_vars completely from existance
|
2014-04-14 12:40:59 +02:00 |
|
Dave Halter
|
4bc55be103
|
significant speedup due to compiled caching
|
2014-04-13 16:31:38 +02:00 |
|
Dave Halter
|
840a806246
|
generalize import optimizations and make them behave more like sys.modules
|
2014-04-10 15:21:23 +02:00 |
|
Dave Halter
|
f7e236971b
|
moved the input of get_index_types to a more typical type system
|
2014-04-04 12:09:46 +02:00 |
|
Dave Halter
|
84fde13b84
|
implemented a first prototype of a slicing and index creation function
|
2014-04-03 21:10:42 +02:00 |
|
Dave Halter
|
29435852e6
|
trying to clean up the goto mess
|
2014-03-28 13:46:36 +01:00 |
|
Dave Halter
|
18e5a3ad4f
|
document a goto part of the API
|
2014-03-11 16:08:20 +01:00 |
|
Dave Halter
|
cffdcd2571
|
correct developer documentation a little bit
|
2014-03-11 15:38:46 +01:00 |
|
Dave Halter
|
937ab602ae
|
add a lambda integration testing file
|
2014-03-11 11:59:17 +01:00 |
|
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 |
|