Commit Graph

6101 Commits

Author SHA1 Message Date
Dave Halter
65c02a2332 A bit of shuffling code around get_definition around. 2017-09-03 01:05:53 +02:00
Dave Halter
f69d8f1f29 _get_definition -> get_definition in parso. 2017-09-03 00:50:52 +02:00
Dave Halter
4795ed9071 More refactoring. 2017-09-03 00:39:15 +02:00
Dave Halter
6fb2f73f88 Some more refactorings. 2017-09-03 00:37:20 +02:00
Dave Halter
b64690afb8 Param defaults were not correctly followed when goto was used on them. 2017-09-03 00:22:59 +02:00
Dave Halter
e85816cc85 Simplify getting code for completions. 2017-09-03 00:11:23 +02:00
Dave Halter
fc8326bca1 Finally get rid of the last get_definition. 2017-09-03 00:07:14 +02:00
Dave Halter
333babea39 get_definition has now a new option. 2017-09-02 23:56:00 +02:00
Dave Halter
747e0aa7c4 Remove a get_definition usage. 2017-09-02 23:23:09 +02:00
Dave Halter
4a04bf78c7 Move some code around. 2017-09-02 22:45:23 +02:00
Dave Halter
9663e343c2 Almost the last switch to _get_definition. 2017-09-02 22:42:01 +02:00
Dave Halter
03da6b5655 get_definition change in finder. 2017-09-02 21:46:03 +02:00
Dave Halter
6419534417 Some more _get_definition fixes 2017-09-02 21:37:59 +02:00
Dave Halter
ee6d68c3a8 Remove a get_definnition usage. 2017-09-02 17:59:09 +02:00
Dave Halter
7e19e49200 Start replacing get_definitions. 2017-09-02 17:48:01 +02:00
Dave Halter
9cac7462d6 Return statements should be handled correctly if the return_stmt is only a return without an expression behind it. 2017-09-02 14:03:54 +02:00
Dave Halter
c47f5ca68c Fix issues with yield. 2017-09-01 18:38:19 +02:00
Dave Halter
e2d53f51b0 test for yields in expressions. 2017-09-01 18:08:52 +02:00
Dave Halter
16f1eb417a One more parso rename. 2017-09-01 18:05:19 +02:00
Dave Halter
2b08c0ac88 Bump parso to 0.0.3 2017-08-31 22:54:09 +02:00
Dave Halter
3789709ec0 Add the deployment script from parso. 2017-08-31 22:45:27 +02:00
Dave Halter
fe9be9fe09 source_to_unicode -> python_bytes_to_unicode. 2017-08-15 20:09:48 +02:00
Dave Halter
f9e31dc941 Refactor splitlines -> split_lines. 2017-08-15 19:55:50 +02:00
Dave Halter
e3ca1e87ff Simplify Contributing.md. 2017-08-13 22:31:05 +02:00
Dave Halter
a37201bc1d Finally fixing the Python 2 issues with static_getattr. 2017-08-13 22:24:50 +02:00
Dave Halter
13a0d63091 Add Python 2 compatibility. 2017-08-12 23:15:16 +02:00
Dave Halter
88cfb2cb91 Remove side effects when accessing jedi from the interpreter.
Note that there is http://bugs.python.org/issue31184.
Fixes #925.
2017-08-12 22:49:05 +02:00
Dave Halter
b26b8a1749 Merge branch 'dev' 2017-08-12 22:46:24 +02:00
Dave Halter
997cb2d366 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2017-08-12 22:45:47 +02:00
Yariv Kenan
9a43c35a4d fix old_files method
Returns old files instead of new files info.
Probably not what it was meant for.
2017-08-10 00:14:07 +02:00
bcolsen
3422b21c62 Added Yields test 2017-08-09 00:37:29 -06:00
bcolsen
38a690b4e4 add numpydoc to cov in tox.ini 2017-08-08 23:41:08 -06:00
bcolsen
77d6de0ae5 fix test skip and py3.6 2017-08-08 23:30:02 -06:00
bcolsen
4f96cdb3b0 Numpydocs doesn't support 2.6 or 3.3 2017-08-08 23:13:16 -06:00
bcolsen
d19a97f53a Numpydocs and compiled objects return types 2017-08-08 22:46:33 -06:00
Dave Halter
ff001e07a6 In parso params is now get_params(). 2017-08-06 17:35:05 +02:00
Dave Halter
39cbd003c0 A small change in parso changed the normalize API. 2017-08-06 16:43:47 +02:00
Dave Halter
8d6732c28c Remove a print statement. 2017-07-16 22:16:13 +02:00
Dave Halter
7e4504efbd Fix ellipsis issues of python2. 2017-07-16 20:07:49 +02:00
Dave Halter
54490be1b2 parso.load_grammar now needs version as a keyword argument. 2017-07-16 17:16:37 +02:00
Dave Halter
2fcd2f8f89 Fix some more stuff because of newer parso changes. 2017-07-14 18:21:52 +02:00
micbou
175e57214e Fix instance docstring 2017-07-14 00:59:55 +02:00
micbou
f5248250d8 Fix keyword docstring 2017-07-14 00:22:27 +02:00
Dave Halter
945a2ba405 Dedent some code to avoid issues with parso. 2017-07-09 00:27:23 +02:00
Dave Halter
72b4c8bd9f The normalize function is private for now. 2017-07-08 18:56:42 +02:00
denfromufa
270f70ea7e more precise SO link 2017-06-25 21:39:11 +02:00
Dave Halter
e0485b032e Fix some stuff to make parso work again. 2017-06-02 00:00:31 +02:00
Dave Halter
af26cc9f05 Remove the license parts that are not needed anymore, because they are now part of parso. 2017-06-01 23:59:04 +02:00
Dave Halter
5d657500d1 Use the new normalize function instead of get_code(normalize=True) that was removed in parso. 2017-05-27 13:12:11 -04:00
Dave Halter
b9271cf5a5 Use the parser_cache correctly. 2017-05-26 13:43:18 -04:00