Commit Graph

  • 04bc9eb62c Get py__simple_getitem__ working on dicts that have a dict as a param, see #1385 Dave Halter 2019-08-29 09:27:31 +02:00
  • 9c950321df Move some code from SequenceLiteralValue to DictLiteralValue Dave Halter 2019-08-28 23:39:23 +02:00
  • 4572503c9f Fix usages in context of the new parso parameter include_setitem=True Dave Halter 2019-08-28 22:56:16 +02:00
  • 7d28f4ce5b execution_allowed should be called with nodes Dave Halter 2019-08-28 18:24:26 +02:00
  • 2a27ec37ae Move a repr function Dave Halter 2019-08-28 10:12:00 +02:00
  • 066b189bfa Fix cases where dicts are passed to dicts and generics were not properly applied Dave Halter 2019-08-27 20:41:46 +02:00
  • 18ecb5a746 Small rename Dave Halter 2019-08-26 23:34:01 +02:00
  • 305bfd3a3c Change a test so it works with generics Dave Halter 2019-08-26 21:53:41 +02:00
  • 8311328a8e Get py__simple_getitem__ modifications working for list/dict instances Dave Halter 2019-08-26 21:48:41 +02:00
  • 24b392b915 Random objects should not be affected by list/dict modifications Dave Halter 2019-08-26 19:28:30 +02:00
  • 356c25a399 Add a way how dict setitem can be understood Dave Halter 2019-08-26 09:33:41 +02:00
  • 5329f95096 Attempt at a test of completion of filepath after ~. #1384 Matthias Bussonnier 2019-08-23 18:26:11 +02:00
  • eb5586d7e0 Move the dynamic module to dynamic_params Dave Halter 2019-08-25 17:12:04 +02:00
  • b7febc1960 Move the dynamic arrays code Dave Halter 2019-08-25 17:07:50 +02:00
  • d31ca7e9f0 Add a comment about how _ArrayInstance is used Dave Halter 2019-08-25 17:00:57 +02:00
  • 0f13e02fc2 check_array_additions -> _check_array_additions Dave Halter 2019-08-25 16:46:08 +02:00
  • 2a86d810cd Remove methods that are not used Dave Halter 2019-08-25 14:36:42 +02:00
  • 473dbb0f69 Create separate classes for FakeSequence Dave Halter 2019-08-25 14:31:15 +02:00
  • 51912db46a Remove _FakeArray, because it's no longer needed Dave Halter 2019-08-25 13:58:35 +02:00
  • 41dc514546 Enable a sys path test that is working now Dave Halter 2019-08-25 13:20:37 +02:00
  • e3d2bce7ff Reenable some tests Dave Halter 2019-08-25 02:37:08 +02:00
  • 9b21c02819 Add a method implementation, that doesn't seem to be used, but it might one day be. Dave Halter 2019-08-24 14:50:59 +02:00
  • c94bce315a Merge branch 'refactoring' Dave Halter 2019-08-24 14:38:45 +02:00
  • 8beea77bc8 Merge branch 'master' of github.com:davidhalter/jedi Dave Halter 2019-08-24 14:34:09 +02:00
  • 9290b7291b get_param -> get_executed_param_name Dave Halter 2019-08-24 14:30:00 +02:00
  • 4969b52ddf Reuse a function Dave Halter 2019-08-24 14:18:08 +02:00
  • 06a6cea02d DynamicExecutedParams -> DynamicExecutedParamName Dave Halter 2019-08-24 14:14:45 +02:00
  • 9469533b9f Make InstanceExecutedParam a ParamName Dave Halter 2019-08-24 14:08:11 +02:00
  • 98d0fc632e Some more renames Dave Halter 2019-08-24 14:02:04 +02:00
  • 622db8d2d7 Actually start using names for executed param names Dave Halter 2019-08-24 13:52:50 +02:00
  • 0619d58cd3 search_params -> search_param_names Dave Halter 2019-08-24 13:47:19 +02:00
  • b1d2f2462b get_executed_params_and_issues -> get_executed_param_names_and_issues Dave Halter 2019-08-24 13:45:47 +02:00
  • bccc85f453 Remove a strange comment Dave Halter 2019-08-24 13:41:41 +02:00
  • 4db6793719 Remove an isisinstance check that is no longer needed Dave Halter 2019-08-24 13:40:03 +02:00
  • ec6fa0c97c Differentiate between a public name and an internal string_name Dave Halter 2019-08-24 13:31:17 +02:00
  • 8b1f35a8b1 Use get_kind in ExecutedParam Dave Halter 2019-08-24 13:20:53 +02:00
  • e7020bea3d Use infer_annotation only from param name Dave Halter 2019-08-24 13:09:00 +02:00
  • bb3eb23864 Move docstring param recognizing Dave Halter 2019-08-24 12:32:50 +02:00
  • 88cf198552 Avoid function executions if they are not necessary Dave Halter 2019-08-24 11:59:13 +02:00
  • e0f26dd7a1 get_function_execution -> as_context Dave Halter 2019-08-24 11:11:00 +02:00
  • d913d7d701 Don't use filter_name for global completions Dave Halter 2019-08-24 11:02:45 +02:00
  • dd6befdc52 Cosmetics Dave Halter 2019-08-24 03:22:14 +02:00
  • c1d8454f0c Finally get rid of NameFinder Dave Halter 2019-08-24 03:20:21 +02:00
  • c4b0b45a1d Move the isinstance checks out of finder Dave Halter 2019-08-24 03:09:40 +02:00
  • eba088b049 Move some static analysis details out of finder Dave Halter 2019-08-24 02:48:03 +02:00
  • ba67d384c1 Remove predefined_names from value, it's not needed anymore Dave Halter 2019-08-24 02:41:10 +02:00
  • ba9c318d22 Move predefine_names to context Dave Halter 2019-08-24 02:39:51 +02:00
  • ce3ec4eecb Rename value -> context for some more places Dave Halter 2019-08-24 02:36:29 +02:00
  • e148d5120f Move some finder stuff around Dave Halter 2019-08-24 02:28:58 +02:00
  • 3828532065 Move a debugging statement out of finder Dave Halter 2019-08-24 02:13:52 +02:00
  • 6d361e03ac Avoid import recursions in other ways Dave Halter 2019-08-24 01:20:37 +02:00
  • 250ac77f4a Remove a check that is not needed Dave Halter 2019-08-24 01:09:26 +02:00
  • ddb2ccb657 Move error handling for py__getattribute__ Dave Halter 2019-08-24 00:59:48 +02:00
  • bd24ee2ab3 Move a paragraph Dave Halter 2019-08-24 00:45:21 +02:00
  • b13a9f7d5b Trying to move towards unifying goto and py__getattribute__ Dave Halter 2019-08-24 00:18:48 +02:00
  • fcec30dff6 Use py__getattribute__alternatives instead of overwriting py__getattribute__ Dave Halter 2019-08-23 23:04:17 +02:00
  • 0992dc7ae9 Move __getattr__ and __getattribute__ logic to instance Dave Halter 2019-08-23 21:59:01 +02:00
  • 60a73f6bac Move get_global_filters to the context module Dave Halter 2019-08-23 21:19:17 +02:00
  • a9d8f389a9 Avoid using get_global_filters if it's not needed Dave Halter 2019-08-23 20:56:00 +02:00
  • 9a3f41e63b Complete path after ~. Matthias Bussonnier 2019-08-13 07:57:00 -07:00
  • 3fcecb3d6d Move the filter search to a different place Dave Halter 2019-08-23 16:29:13 +02:00
  • ead0964282 _get_origin_scope is no longer really used Dave Halter 2019-08-23 16:21:14 +02:00
  • 0cbd1e6cff Avoid passing of contexts in multiple ways for self name filters Dave Halter 2019-08-23 15:45:26 +02:00
  • b38da47981 Prefer readability Dave Halter 2019-08-23 15:33:15 +02:00
  • c393a406ee Refactoring of the contexts to properly use inheritance Dave Halter 2019-08-23 15:27:15 +02:00
  • 7573e2033a Fix comprehension parent issues, fixes #1215 Dave Halter 2019-08-23 14:34:16 +02:00
  • ecc574025c Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring Dave Halter 2019-08-23 13:52:25 +02:00
  • 51ac055a38 Another _value removal Dave Halter 2019-08-23 13:42:07 +02:00
  • c9e4cdaba1 Get rid of another private access Dave Halter 2019-08-23 13:34:04 +02:00
  • aceef78a21 Get rid of a private access Dave Halter 2019-08-23 13:19:53 +02:00
  • 86f4f7be45 Remove a private access Dave Halter 2019-08-23 11:55:49 +02:00
  • 041fd992b3 create_value can deal with modules now Dave Halter 2019-08-23 00:45:59 +02:00
  • 05ce1c8237 Remove a test that tested a removed function Dave Halter 2019-08-23 00:26:15 +02:00
  • 3e684519e6 Very small refactoring Dave Halter 2019-08-23 00:24:30 +02:00
  • 9f3a2f93c4 Remove get_statement_of_position. It's not used anymore Dave Halter 2019-08-23 00:13:18 +02:00
  • 193ba47f50 Simplify get_user_context Dave Halter 2019-08-23 00:10:56 +02:00
  • 05fe29a156 Get rid of the node_is_value parameter Dave Halter 2019-08-23 00:02:39 +02:00
  • bd754718e1 Fix a string escape Dave Halter 2019-08-22 23:32:52 +02:00
  • df014dc527 Create create_value to eventally use on contexts for some things Dave Halter 2019-08-22 23:21:21 +02:00
  • 6d5e9f4b0f Remove node_is_object, not used anymore Dave Halter 2019-08-22 23:13:34 +02:00
  • faf6752ff8 Move create_context to a context Dave Halter 2019-08-22 22:20:38 +02:00
  • ee6331747f Use a class_context instead of a class_value for MethodValue Dave Halter 2019-08-22 22:11:14 +02:00
  • eee6810576 Small cleanup of code Dave Halter 2019-08-22 17:20:07 +02:00
  • f87f8c028b Fix context issues when working with instances Dave Halter 2019-08-22 17:11:54 +02:00
  • b97237f264 Rename the filter context argument to parent_context Dave Halter 2019-08-22 10:06:09 +02:00
  • 4e260cdadb Remove infer_element from Value Dave Halter 2019-08-22 00:35:49 +02:00
  • 337c03e5be Separate infer_import and goto_import a bit better Dave Halter 2019-08-22 00:08:13 +02:00
  • bf4d42798b Make separate methods for goto_import and infer_import Dave Halter 2019-08-21 23:58:26 +02:00
  • 2fb04db0ab Fix the weird py__path__ behavior Dave Halter 2019-08-21 23:08:42 +02:00
  • 592f3771fc Make Importer.module_context Importer._module_context Dave Halter 2019-08-21 09:56:36 +02:00
  • 925dd38c18 Remove a private access Dave Halter 2019-08-21 09:54:32 +02:00
  • 6142d18206 More rename Dave Halter 2019-08-21 09:53:48 +02:00
  • 9d34df2fed Make Slice a proper LazyValueWrapper Dave Halter 2019-08-21 09:51:47 +02:00
  • 02c96b37db Some more value -> context renames Dave Halter 2019-08-21 09:31:23 +02:00
  • 55c08e06ab Remove a hack that is no longer necessary Dave Halter 2019-08-21 09:25:15 +02:00
  • 84f6d95fde Fix a python 2 dynamic issue Dave Halter 2019-08-21 01:13:19 +02:00
  • 4cbe2898c0 Fix usage tests Dave Halter 2019-08-21 01:01:09 +02:00
  • 8a2b7f18cd Get all tests working except usage tests Dave Halter 2019-08-21 00:47:44 +02:00
  • 85f8f2a764 Fix os path resolving issues Dave Halter 2019-08-21 00:22:34 +02:00
  • 14fc5ed289 Fix more issues with where contexts are used and where values are used Dave Halter 2019-08-20 09:59:10 +02:00