db1b73d423
lo and behold - reversed is implemented - the force is strong with this one. fixes#24Dave Halter2014-03-11 11:04:00 +01:00
6c5e91da69
some code - just written for @dbrgn
Dave Halter2014-03-10 23:06:39 +01:00
f8336d7176
fix a unicode issue (test input was not unicode)
Dave Halter2014-03-10 17:15:41 +01:00
af7814c6d4
enable assignment operators and add substraction support for numbers
Dave Halter2014-03-10 16:51:47 +01:00
52348e0d1b
delete unnecessary checks from filter
Dave Halter2014-03-10 16:12:10 +01:00
62a14f7558
restructure NameFinder.filter_name a little bit
Dave Halter2014-03-10 15:57:01 +01:00
4e314409c1
remove position argument of follow_path
Dave Halter2014-03-10 00:44:15 +01:00
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
Dave Halter2014-03-10 00:40:57 +01:00
2322edff8f
keyword statement not includes globals
Dave Halter2014-03-05 00:44:19 +01:00
f4b235a35d
Merge branch 'dev' of github.com:davidhalter/jedi into dev
Dave Halter2014-03-04 17:36:01 +01:00
8bd8ba1df8
don't need to generate 'pass' anymore if a class is empty in get_code
Dave Halter2014-03-04 17:27:26 +01:00
f54344fd9e
KeywordStatements are working except for some of the old ones (global, assert, return, yield)
Dave Halter2014-03-04 17:20:29 +01:00
53fd1f925a
create KeywordStatement to fit assert, del, global, etc into a more generalized schema, which can also improve the get_code method
Dave Halter2014-03-04 15:35:24 +01:00
3a23c80ae5
prepare for eventual? tokenizer end_pos replacement.
Dave Halter2014-02-25 11:59:10 +01:00
246118f851
start using @ganwell's new token class (modified in some ways) as the main token class - hope to gain a little bit of memory/cpu/pickling performance
Dave Halter2014-02-25 02:06:26 +01:00
9943bb6205
remove some old parameters from Parser and FastTokenizer
Dave Halter2014-02-24 11:24:54 +01:00
7db090a48a
moved NoErrorTokenizer to fast.FastTokenizer
Dave Halter2014-02-24 11:05:31 +01:00
9257062910
remove NoErrorTokenizer dependency for all but the fast parsers
Dave Halter2014-02-24 10:31:15 +01:00
553ff66c8b
remove last_previous from NoErrorTokenizer
Dave Halter2014-02-23 12:51:05 +01:00
8e847f4982
fix python 2.7 issues. the parser now only takes unicode inputs
Dave Halter2014-02-23 11:44:32 +01:00
c5fcebde82
changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser
Dave Halter2014-02-23 11:29:00 +01:00
5478e50f8b
Merge branch 'dev' of github.com:davidhalter/jedi into dev
Dave Halter2014-02-21 17:52:44 +01:00
9c2fcfffd7
StringIo is now always used as part of the io library
Dave Halter2014-02-21 17:52:09 +01:00
d9bf9be35e
small refactorings of the tokenizer
Dave Halter2014-02-21 17:45:56 +01:00