mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-01 17:36:50 +08:00
Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277
This commit is contained in:
@@ -104,7 +104,7 @@ class MixedObjectFilter(compiled.CompiledObjectFilter):
|
|||||||
|
|
||||||
@evaluator_function_cache()
|
@evaluator_function_cache()
|
||||||
def _load_module(evaluator, path):
|
def _load_module(evaluator, path):
|
||||||
module_node = evaluator.grammar.parse(
|
module_node = evaluator.parse(
|
||||||
path=path,
|
path=path,
|
||||||
cache=True,
|
cache=True,
|
||||||
diff_cache=settings.fast_parser,
|
diff_cache=settings.fast_parser,
|
||||||
|
|||||||
Reference in New Issue
Block a user