mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-15 00:16:44 +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()
|
||||
def _load_module(evaluator, path):
|
||||
module_node = evaluator.grammar.parse(
|
||||
module_node = evaluator.parse(
|
||||
path=path,
|
||||
cache=True,
|
||||
diff_cache=settings.fast_parser,
|
||||
|
||||
Reference in New Issue
Block a user