1
0
forked from VimPlug/jedi
Commit Graph

209 Commits

Author SHA1 Message Date
Dave Halter 604ca65a9b Directly importing FunctionContext. 2017-09-30 18:11:15 +02:00
Dave Halter 2c81bd919e ClassContext is now importable from context. 2017-09-30 16:57:28 +02:00
Dave Halter 8c601a1c65 Also move the class to the context package. 2017-09-29 15:39:20 +02:00
Dave Halter 32917d5565 Remove the function context to a separate module. 2017-09-29 15:28:17 +02:00
Dave Halter 95930d293c Move instance module to the context package. 2017-09-29 15:14:56 +02:00
Dave Halter d99d4deebf Merge branch 'values' 2017-09-28 16:19:38 +02:00
Dave Halter a433ee7a7e Move common to evaluate.utils. 2017-09-20 20:33:01 +02:00
Dave Halter d6a04b2928 Remove the deprecated attributes from Jedi. 2017-09-20 18:27:29 +02:00
Dave Halter ab84030ad2 full_name was buggy when used on import error names
Fixes #873.
2017-09-14 20:41:25 +02:00
Dave Halter 381fedddb4 Fix get_line_code().
Fixes #948.
2017-09-09 18:28:05 +02:00
Dave Halter ef6a1ca10f Fix an issue with choosing the right lines in get_line_code. Refs #948. 2017-09-09 18:10:53 +02:00
Dave Halter f69d8f1f29 _get_definition -> get_definition in parso. 2017-09-03 00:50:52 +02:00
Dave Halter 7e19e49200 Start replacing get_definitions. 2017-09-02 17:48:01 +02:00
Dave Halter 76529ca34d The parser_cache contents have changed. Therefore adapt. 2017-05-26 12:52:52 -04:00
Dave Halter b90589b62e Some changes because parso has changed. 2017-05-22 15:42:42 -04:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter 63679aabd9 Replace Param.get_description with get_code and a parameter include_coma. 2017-05-01 02:19:42 +02:00
Matthias Bussonnier 6f1ee0cfa8 Use stacklevel in warnings or filters don't work.
In particular with the right stacklevel IPython will display the warning
if code is directly entered by the user. Without this info it does not.

Use the opportunity to add in the warning since when things are
deprecated. This leads to one less lookup of information for the user.
2017-04-29 20:13:19 +02:00
Dave Halter 7ca62578e1 Add py__doc__ as a better approach to docstrings. 2017-04-20 09:45:15 +02:00
Dave Halter b4631d6dd4 Progress in removing the docstring/call signature logic from the parser. 2017-04-18 18:48:05 +02:00
Dave Halter 545cb26f78 stars -> star_count. 2017-04-08 15:26:57 +02:00
Dave Halter 632072000e Fix the builtin docstring issue that we've had. Fixes #859. 2017-04-03 00:27:31 +02:00
Dave Halter 35fd1c70bd Rename parser.utils to parser.cache. 2017-03-30 01:57:48 +02:00
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