1
0
forked from VimPlug/jedi
Commit Graph

386 Commits

Author SHA1 Message Date
Dave Halter
8059c3c2c8 Save a module instead of a parser when pickling. 2017-03-30 00:55:04 +02:00
Dave Halter
26cce4d078 Add the grammar as an argument to saving the parser.
This makes collisions of different grammars when loading from the cache impossible.
2017-03-22 18:32:49 +01:00
Dave Halter
445bf6c419 Get rid of get_parent_until. 2017-02-03 09:59:32 +01:00
Dave Halter
8027aeebd8 Fix a small bug that was raised two commits ago (in the test suite). 2017-02-02 23:50:29 +01:00
Dave Halter
a5a54fbc85 Fix a call signature issue. 2017-02-01 19:21:07 +01:00
Matthias Bussonnier
0f865a17ef Improve some documentation about name with symbols, name and completion. 2017-01-22 18:41:35 -08: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
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
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
cd23499fbe Fix param issues in goto definition. 2017-01-04 08:58:29 +01:00
Dave Halter
1ef507e5e6 Cleanup some code and a small Python 2 fix. 2016-12-17 16:42:52 +01:00
Dave Halter
57857b6332 Remove the ImportWrapper and replace it with something simpler. 2016-12-17 16:08:37 +01:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter
97ccb74ebb Api classes test fixes. 2016-12-07 01:00:03 +01:00
Dave Halter
c6248ae169 Some testing fixes that were broken with the few previous commits. 2016-12-06 18:18:53 +01:00
Dave Halter
becf1027c0 Refactor our create_context constructs. 2016-12-06 09:51:57 +01:00
Dave Halter
cb4f405f7d Fix some internal name handling. 2016-12-05 22:27:18 +01:00
Dave Halter
6736b1a5ce Fix some docstring stuff. 2016-12-05 09:42:51 +01:00
Dave Halter
641ecedcd2 Improve a few anonymous function execution context goto issues. 2016-12-04 22:35:23 +01:00
Dave Halter
6f4cd7e6d3 Improve api class tests. 2016-12-04 20:04:54 +01:00
Dave Halter
439e394535 Fix call signatures. 2016-12-04 03:52:33 +01:00
Dave Halter
6940900c58 A lot more fixes - fix all evaluate integration tests. 2016-12-03 22:17:38 +01:00
Dave Halter
dfc06dfe83 A lot of small bug fixes. 2016-12-02 15:08:54 +01:00
Dave Halter
60234e68ca Fixed sys path scanning again. 2016-11-29 18:28:28 +01:00
Dave Halter
4ad0179b72 Fix named param completion and add a few tests. 2016-11-27 11:27:30 +01:00
Dave Halter
0b5f8ccc21 Remove memoize_default from api. 2016-11-26 17:50:21 +01:00
Dave Halter
05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter
cf00c83ed8 Fix parameter issues in functions that are defined on self. 2016-11-13 03:29:36 +01:00
Dave Halter
9369d264d4 Fix all imports inference tests. 2016-11-12 03:26:30 +01:00
Dave Halter
052f6bf9e7 Fix some small import stuff and the whole ordering tests. 2016-11-11 00:45:16 +01:00
Dave Halter
90af0c36e0 Function -> FunctionContext and fakes use the FunctionContext, too. 2016-10-25 09:59:42 +02:00
Dave Halter
64b6396d19 Fix one array usage. 2016-10-24 09:58:40 +02:00
Dave Halter
2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Dave Halter
4ccfbb4962 Use super().__getattribute__ instead of custom AttributeErrors in __getattr__. 2016-10-21 02:12:54 +02:00
Dave Halter
62e184134b Fix __call__ param completion. Fixes #613. 2016-07-31 21:37:01 +02:00
Dave Halter
5f064a2a0a Add a way to get the line in a BaseDefinition. Fixes #518. 2016-07-31 20:37:48 +02:00
Dave Halter
42bf193af8 Fix for some small issues with the equals. 2016-07-20 23:24:29 +02:00
Dave Halter
f20df95074 Fix the issues with added equals after params in the wrong places. Fixes #643. 2016-07-20 23:19:05 +02:00
Dave Halter
a3b263a599 REPL completion is working again partially. There's some progress at least. 2016-06-29 08:49:20 +02:00
Dave Halter
cbef4235ff Remove needs_dot and settings.add_dot_after_module. Both are not really used anymore with context completions anymore.
Also the setting doesn't seem to be used anywhere as far as I can tell.
2016-06-22 22:52:10 +02:00
Dave Halter
7ddc9c9c78 Fix all call signature tests. 2016-06-17 17:03:34 +02:00
Dave Halter
32346c6da8 A lot of call signature refactorings. Note that this commit is totally broken. 2016-06-17 00:20:13 +02:00
Dave Halter
306d274a3d Merge dev into linter. 2015-11-10 21:52:18 +01:00
Dave Halter
ee51b0a62f More issues from the list of types to set of types conversion. 2015-10-30 10:32:17 +01:00
Kevin Kelley
8d8dcc2b6e Fix bug in branch condition causing lambdas to be treated like scopes and not like functions. 2015-10-24 23:33:53 +00:00
Dave Halter
265e6b2c35 Change parser and api to use tree instead of pr. 2015-04-27 23:38:48 +02:00
Dave Halter
d038fba9df er.wrap -> Evaluator.wrap 2015-04-23 13:51:42 +02:00
Dave Halter
8fca3f78a1 Add a py__name__ call to modules. This makes listing the qualified names of modules possible (in combination with the module_name_cache). Fixes #519. 2015-04-14 17:36:20 +02:00
Dave Halter
74779f1a5d Test and preparations for better call signatures with builtins, see #515. 2015-04-10 03:05:38 +02:00