Dave Halter
a0662b3b3b
flake8 changes
2020-07-24 16:11:06 +02:00
Dave Halter
b5e2e67a4d
Remove support for parsing Python 2
2020-07-24 14:48:02 +02:00
Dave Halter
a47b5433d4
Make sure iter_funcdefs includes async functions with decorators, fixes #98
2020-01-26 20:00:56 +01:00
Dave Halter
9ee7409d8a
Get rid of Python 3.3 artifacts
2020-01-05 23:59:38 +01:00
Dave Halter
3ecd4dddb4
Fix is_definition test
2019-09-05 23:28:46 +02:00
Dave Halter
e8653a49ff
Make is_definition work on setitem modifications, see #66
2019-09-04 09:52:55 +02:00
Alisdair Robertson
647073b1b9
Iter raise statements in a Function ( #16 )
...
* Add Function.iter_raise_stmts method and tests
* Add Alisdair Robertson to AUTHORS.txt
* Cleanup Function.iter_raise_stmts and test
Decided not to try and exclude exceptions that would be caught by a try-catch
2017-10-28 13:35:49 +02:00
Dave Halter
e79c0755eb
iter_return_stmts should also return return statements without a value.
2017-09-02 12:32:32 +02:00
Dave Halter
d3e58955a9
iter_yield_expr should not work correctly.
2017-09-01 09:34:01 +02:00
Dave Halter
a21ec2c0ad
Better yield/yield from support.
2017-09-01 01:06:07 +02:00
Dave Halter
3c961e2b70
Rename .params to .get_params().
2017-08-06 17:29:29 +02:00
Dave Halter
6876e1b7c0
Use ERROR_DEDENT instead of ERRORTOKEN for wrong dedents.
2017-07-19 20:15:06 +02:00
Dave Halter
688dfaad24
Make ellipsis work for the differences between 2 and 3.
2017-07-16 18:49:19 +02:00
Dave Halter
d32a84e181
Fix some default/annotation stuff.
2017-07-14 02:20:26 +02:00
Dave Halter
161c51b050
Fix some issues.
2017-07-12 23:00:37 +02:00
Dave Halter
814b16cc6c
Remove the remove_newline hack and build that stuff into error recovery instead.
...
Tests are passing except for diff parser tests.
2017-05-31 21:24:24 +02:00
Dave Halter
bc68266a68
Remove a todo that was a duplicate.
2017-05-26 13:01:50 -04:00
Dave Halter
2fd4567d6f
Add a test from jedi.
2017-05-24 00:42:17 -04:00
Dave Halter
f2c257d7dd
Move the utility function parse to the __init__ script.
2017-05-24 00:08:58 -04:00
Dave Halter
e94ab8ca55
Remove some tests that should not be part of jedi.
2017-05-15 14:51:49 -04:00
Dave Halter
7445c303e3
A test suite imported from jedi.
2017-05-11 09:43:37 -04:00