1
0
forked from VimPlug/jedi
Commit Graph

4743 Commits

Author SHA1 Message Date
Dave Halter
194295066a Fix one more issue in the diff parser. 2017-01-22 23:44:10 +01:00
Dave Halter
08c66207ec Fix the last diff parser test. 2017-01-22 20:27:11 +01:00
Dave Halter
dca35393d5 Remove old code from the diff parser. 2017-01-22 20:22:20 +01:00
Dave Halter
8f4b862892 Fix most diff tests. 2017-01-22 20:13:18 +01:00
Dave Halter
005b24ed54 Better handling of the stack. 2017-01-21 18:43:54 +01:00
Dave Halter
21cd10cefd Get a few diff tests passing. 2017-01-20 20:46:30 +01:00
Dave Halter
73b2287fb4 Fix some tests. 2017-01-20 18:12:09 +01:00
Dave Halter
ebfae050a8 Delete a lof of duplicate code. 2017-01-19 18:31:53 +01:00
Dave Halter
ef31c3d1f4 Some asserts pass now in the tests. 2017-01-19 18:26:50 +01:00
Dave Halter
3bf5f93edd Progress in using a stack in the diff parser. 2017-01-19 09:44:07 +01:00
Dave Halter
fe44458ec0 Start implementing the node stack. 2017-01-16 16:32:49 +01:00
Dave Halter
98185d530e Simplify deep_ast_parser a lot. 2017-01-12 21:51:02 +01:00
Dave Halter
ad1222e6d7 Fix another parser bug. 2017-01-12 08:46:58 +01:00
Dave Halter
0141711af8 Diff parser docstring. 2017-01-10 19:17:37 +01:00
Dave Halter
425fba5e95 Move the parser.fast module to parser.diff. 2017-01-10 19:15:47 +01:00
Dave Halter
1edccbe2c3 Improve literal tests. 2017-01-08 19:52:21 +01:00
Dave Halter
7300f3e7ef Fix issues with Python 3.6's f strings and underscores in numbers. 2017-01-08 19:39:14 +01:00
Dave Halter
00a9f1ec0a Update the tokenizer to include f literals and underscores. Need tests still. 2017-01-08 16:03:45 +01:00
Dave Halter
3f09f3a304 Add support for PEP 0526.
This makes it possible to assign variables like

    asdf: typing.List[int] = []
2017-01-08 03:57:35 +01:00
Dave Halter
6d00a5702f If newer versions are using Jedi (e.g. at the moment Python 3.7), it shouldn't just result in a grammar issue, just because that grammar doesn't not exist. Just take the Python 3.6 grammar instead. 2017-01-07 15:54:04 +01:00
Dave Halter
aff3950085 Better async testing. 2017-01-07 15:40:55 +01:00
Dave Halter
6a18ddf8cb Fix await issues. At the moment Jedi is just ignoring await statements. 2017-01-07 15:27:32 +01:00
Dave Halter
d3c437e891 Restructure yield code to make it less error prone. 2017-01-07 12:43:15 +01:00
Dave Halter
1f15ee8bc7 Fix an issue with contexts. 2017-01-06 00:08:01 +01:00
Dave Halter
ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter
b44f0aae5d Remove the origin_scope from filters that don't need it. 2017-01-05 21:57:06 +01:00
Dave Halter
89ec207f49 Add a failing test for an inheritanc context completion issue. 2017-01-05 21:50:15 +01:00
Dave Halter
9fb2644f03 Fix an issue with creating contexts. 2017-01-05 18:05:24 +01:00
Dave Halter
12a9ef48f7 Move the completion tests. 2017-01-04 22:34:43 +01:00
Dave Halter
9341df11bf Fix the issues that were changed by removing start_pos from the api classes. 2017-01-04 22:24:25 +01:00
Dave Halter
e96fd32588 Fix an issue of params completion signatures. 2017-01-04 22:09:08 +01:00
Dave Halter
55ec47f15f Test module attributes. 2017-01-04 18:32:16 +01:00
Dave Halter
0caeef2589 Remove the deprecated start_pos. 2017-01-04 18:23:41 +01:00
Dave Halter
01099ce5a9 Create a name for the generators. 2017-01-04 18:12:33 +01:00
Dave Halter
cd23499fbe Fix param issues in goto definition. 2017-01-04 08:58:29 +01:00
Dave Halter
24457bfe2e Fix some usage cases of comprehensions. 2017-01-03 02:15:04 +01:00
Dave Halter
306fd5b95b Fix a recursion issue. 2017-01-02 23:57:59 +01:00
Dave Halter
c7241068e8 Fix an issue with call signatures in empty files. 2017-01-02 19:39:48 +01:00
Dave Halter
5d071ede8c Fix the typing module issues in Python 3.6. 2017-01-02 15:01:12 +01:00
Dave Halter
5b9e5f96aa Merge with master. 2017-01-02 13:05:45 +01:00
Dave Halter
96bb9e3c1a LazyContext.infer() should return a set. 2017-01-02 12:15:09 +01:00
Dave Halter
f05c0714c7 Merge pull request #823 from fsouza/grammar-3.6
parser: add grammar3.6
2017-01-02 12:13:56 +01:00
Francisco Souza
65371ca59a travis: add support for Python 3.6 and use tox-travis 2016-12-31 09:54:26 -05:00
Francisco Souza
14e722ff13 parser: add grammar3.6
I manually replicated the changes that were applied to grammar3.5.
2016-12-30 22:18:03 -05:00
Dave Halter
375fcd9e66 Fix an issue with nested flows in the diff parser. 2016-12-31 03:12:56 +01:00
Dave Halter
29e286488b Fix the last remaining fail in the diff parser. 2016-12-30 21:13:44 +01:00
Dave Halter
c4eec88fc9 Reenable some tests that were somehow disabled. 2016-12-30 20:47:40 +01:00
Dave Halter
61c7444185 Fix some more issues in the diff parser that caused it to completely crash. 2016-12-30 20:13:05 +01:00
Dave Halter
b3f9b9eed3 Trying to refactor divide_nodes into a more general state. 2016-12-23 18:20:09 +01:00
Dave Halter
f437ce5ae7 Some diff parser refactorings. 2016-12-22 09:13:14 +01:00