1
0
forked from VimPlug/jedi
Commit Graph

4558 Commits

Author SHA1 Message Date
Dave Halter 56ec79d62a Fix star imports checks, fixes #1235 2019-06-22 16:45:56 +02:00
Dave Halter c413b486fb Actually import IsADirectoryError 2019-06-22 15:43:11 +02:00
Dave Halter 3ae4a154f9 Fix project search if a directory is called manage.py, fixes #1314 2019-06-22 14:04:32 +02:00
Dave Halter aa2dc6be09 Return annotations for compiled objects now help to infer
However only if it's a type, if it's a string, it doesn't work, yet

Fixes #1347
2019-06-22 00:15:20 +02:00
Dave Halter 454447d422 Fix an invalid escape sequence 2019-06-20 21:43:52 +02:00
Dave Halter 4479b866ff CompiledContext should not have a file 2019-06-20 20:30:23 +02:00
Dave Halter 907fdaa153 Fix some minor errors 2019-06-20 09:53:40 +02:00
Dave Halter b85c0db72e Fix a typo 2019-06-19 18:32:09 +02:00
Dave Halter 5f81353182 Make the jedi documentation more concise 2019-06-19 18:25:11 +02:00
Dave Halter b71a851081 Write a better introduction text 2019-06-19 10:12:23 +02:00
Dave Halter 474dcb857a Some small docs improvements 2019-06-19 09:59:21 +02:00
Dave Halter 2cf1797465 Caching for get_parent_scope 2019-06-18 10:04:10 +02:00
Dave Halter f2f54f2864 Create a better cache to avoid the amount of get_definition/is_definition calls in parso 2019-06-18 09:29:39 +02:00
Dave Halter 860f627f48 Merge branch 'master' of github.com:davidhalter/jedi 2019-06-15 02:14:29 +02:00
Dave Halter 3ddbee1666 Fix issues for socket 2019-06-15 02:07:30 +02:00
Dave Halter fc20faf8f8 Remove _apply_qualified_name_changes, because it's really not needed 2019-06-15 01:58:54 +02:00
Dave Halter 0749e5091a Apparently a change we made does not seem to be needed 2019-06-15 01:57:59 +02:00
Dave Halter e61949da66 Fix some collections.deque issues 2019-06-15 01:56:49 +02:00
Dave Halter fdad24cc0a Fix some test errors 2019-06-15 01:42:50 +02:00
Dave Halter 3ed30409ea Some progress in trying to make the deque work 2019-06-14 09:36:23 +02:00
Dave Halter d55d494e0a Merge pull request #1342 from JCavallo/ignore_unknown_super_calls
Ignore super calls when super class cannot be inferred
2019-06-14 00:28:08 +02:00
Dave Halter 4564275eba By default a name has no qualified names 2019-06-13 09:45:59 +02:00
Jean Cavallo ce97b0a5e7 Make sure py__bases__always return something 2019-06-13 09:37:51 +02:00
Dave Halter 5a26d4cf8f Prefer stubs to Python names when starting to infer 2019-06-13 09:26:50 +02:00
Dave Halter 097b073d20 Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116 2019-06-12 10:00:45 +02:00
Jean Cavallo a3afdc0ece Ignore super calls when super class cannot be inferred 2019-06-12 09:51:08 +02:00
Dave Halter 78973a9f35 Move execute_evaluated to HelperContextMixin 2019-06-11 17:46:30 +02:00
Dave Halter f672d3329a Make sure that execute is always called with arguments 2019-06-11 09:37:24 +02:00
Dave Halter be269f3e1c Remove a print 2019-06-10 22:21:41 +02:00
Dave Halter c1047bef4f Ignore warnings for numpydocs 2019-06-10 21:41:15 +02:00
Dave Halter 5ef0563abe Don't use stub_to_python_context_set anymore 2019-06-10 19:39:26 +02:00
Dave Halter 56d8945d17 Use convert_context function for docs lookup 2019-06-10 19:17:50 +02:00
Dave Halter 7f853a324a Fix a small copy paste fail 2019-06-10 19:05:03 +02:00
Dave Halter 7f3e55df02 Fix conversion for contexts 2019-06-10 18:56:37 +02:00
Dave Halter 9871fe2adf Be even more strict with numpy doctsring parsing, it should just be ignored if it fails in any ways 2019-06-10 17:40:39 +02:00
Dave Halter 95f3aed82c Eliminate more actual appearances 2019-06-10 16:16:34 +02:00
Dave Halter 8ba3e5d463 Change some names from actual -> python 2019-06-10 16:02:05 +02:00
Dave Halter c8937ccdbf Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions 2019-06-10 15:59:12 +02:00
Dave Halter 49f652a2ad Better comment 2019-06-10 03:27:33 +02:00
Dave Halter 12dbdbf258 qualified names for imports with relative paths have not been solved, yet 2019-06-10 03:20:54 +02:00
Dave Halter abba305f64 Better debugging 2019-06-10 03:19:32 +02:00
Dave Halter d4cccd452d Fix qualified_names for some cases 2019-06-10 03:17:50 +02:00
Dave Halter a555def6ca Use a different function signature instead of a separate goto_stubs function 2019-06-10 02:27:22 +02:00
Dave Halter 42b6e20729 Changes for 3.8: sync_comp_for instead of comp_for
Please also look at the changes for parso in its b5d50392a4058919c0018666cdfc8c3eaaea9cb5 commit
2019-06-09 18:05:34 +02:00
Dave Halter f3364a458c Better repr for DictFilter 2019-06-09 15:00:18 +02:00
Dave Halter 48b1b9a1aa Make sure that 3.8 is a supported Python environment going forward (and remove 3.3) 2019-06-08 02:11:45 +02:00
Dave Halter eef02e5c56 Fix generator issues for typing 2019-06-08 01:50:38 +02:00
Dave Halter 26951f5c18 Fixed a few failing tests, that were failing, because of the qualified_names changes 2019-06-08 01:05:40 +02:00
Dave Halter 0ff1a88cc4 Use get_qualified_names for full_name 2019-06-08 00:18:31 +02:00
Dave Halter f80828cb07 Fix issues with simple_getitem and mixed objects 2019-06-07 03:00:01 +02:00