Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/api/__init__.py", line 179, in completions

completions = completion.completions()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/api/completion.py", line 96, in completions

completion_names = self._get_context_completions()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/api/completion.py", line 169, in _get_context_completions

completion_names += self._trailer_completions(dot.get_previous_leaf())


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/api/completion.py", line 210, in _trailer_completions

completion_names += filter.values()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 157, in values

return self._convert_names(name for name_list in self._used_names.values()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 154, in _convert_names

return [self.name_class(self.context, name) for name in names]


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 154, in <listcomp>

return [self.name_class(self.context, name) for name in names]


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 158, in <genexpr>

for name in self._filter(name_list))


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 183, in _filter

return list(self._check_flows(names))


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 197, in _check_flows

self._node_context, self._parser_scope, name, self._origin_scope


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/flow_analysis.py", line 73, in reachability_check

return _break_check(context, context_scope, first_flow_scope, node)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/flow_analysis.py", line 88, in _break_check

reachable = _check_if(context, flow_node)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/flow_analysis.py", line 104, in _check_if

types = context.eval_node(node)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/context.py", line 37, in eval_node

return self.evaluator.eval_element(self, node)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 215, in eval_element

definitions = self.goto_definitions(context, if_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 462, in goto_definitions

return helpers.evaluate_call_of_leaf(context, name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/helpers.py", line 53, in evaluate_call_of_leaf

return context.eval_node(leaf)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/context.py", line 37, in eval_node

return self.evaluator.eval_element(self, node)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 247, in eval_element

return self._eval_element_if_evaluated(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 264, in _eval_element_if_evaluated

return self._eval_element_cached(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/cache.py", line 41, in wrapper

rv = function(obj, *args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 268, in _eval_element_cached

return self._eval_element_not_cached(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/debug.py", line 81, in wrapper

return func(*args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 276, in _eval_element_not_cached

types = self.eval_atom(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 347, in eval_atom

search_global=True


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/_compatibility.py", line 213, in <lambda>

return lambda *args, **kwargs: self.func(obj, *args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/context.py", line 52, in py__getattribute__

self, name_or_str, name_context, position, search_global, is_goto)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 130, in find_types

return f.find(filters, attribute_lookup=not search_global)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/debug.py", line 81, in wrapper

return func(*args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 64, in find

types = self._names_to_types(names, attribute_lookup)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 147, in _names_to_types

types = unite(name.infer() for name in names)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/common.py", line 191, in unite

return set(typ for types in iterable for typ in types)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/common.py", line 191, in <genexpr>

return set(typ for types in iterable for typ in types)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 147, in <genexpr>

types = unite(name.infer() for name in names)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 79, in infer

return _name_to_types(self.parent_context.evaluator, self.parent_context, self.tree_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 193, in _name_to_types

types = _remove_statements(evaluator, context, node, tree_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 278, in _remove_statements

types |= context.eval_stmt(stmt, seek_name=name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/context.py", line 40, in eval_stmt

return self.evaluator.eval_statement(self, stmt, seek_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 135, in eval_statement

return self._eval_stmt(context, stmt, seek_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/debug.py", line 81, in wrapper

return func(*args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 151, in _eval_stmt

types = self.eval_element(context, rhs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 252, in eval_element

return self._eval_element_if_evaluated(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 264, in _eval_element_if_evaluated

return self._eval_element_cached(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/cache.py", line 41, in wrapper

rv = function(obj, *args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 268, in _eval_element_cached

return self._eval_element_not_cached(context, element)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/debug.py", line 81, in wrapper

return func(*args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 289, in _eval_element_not_cached

types = self.eval_atom(context, first_child)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 347, in eval_atom

search_global=True


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/_compatibility.py", line 213, in <lambda>

return lambda *args, **kwargs: self.func(obj, *args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/context.py", line 52, in py__getattribute__

self, name_or_str, name_context, position, search_global, is_goto)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/__init__.py", line 130, in find_types

return f.find(filters, attribute_lookup=not search_global)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/debug.py", line 81, in wrapper

return func(*args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 64, in find

types = self._names_to_types(names, attribute_lookup)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 147, in _names_to_types

types = unite(name.infer() for name in names)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/common.py", line 191, in unite

return set(typ for types in iterable for typ in types)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/common.py", line 191, in <genexpr>

return set(typ for types in iterable for typ in types)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 147, in <genexpr>

types = unite(name.infer() for name in names)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/filters.py", line 79, in infer

return _name_to_types(self.parent_context.evaluator, self.parent_context, self.tree_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/finder.py", line 197, in _name_to_types

types = imports.infer_import(context, tree_name)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/cache.py", line 41, in wrapper

rv = function(obj, *args, **kwargs)


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/imports.py", line 58, in infer_import

types = importer.follow()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/imports.py", line 259, in follow

return self._do_import(self.import_path, self.sys_path_with_modifications())


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/evaluate/imports.py", line 352, in _do_import

code = module_file.read()


 "/Users/jniehus/Documents/vimconfig/vimfiles/bundle/jedi/jedi/jedi/_compatibility.py", line 31, in read

return self.loader.get_source(self.string)
AttributeError: module 'sys' has no attribute 'get_source'

Traceback (most recent call last):


 "C:\Users\Gan-N\Miniconda3\envs\osbrain\lib\pickle.py", line 918, in save_global

obj2, parent = _getattribute(module, name)


 "C:\Users\Gan-N\Miniconda3\envs\osbrain\lib\pickle.py", line 266, in _getattribute

.format(name, obj))
AttributeError: Can't get local attribute 'function.<locals>.B' on <function function at 0x0000028D22201D90>
