1
0
forked from VimPlug/jedi

Support Python 3.13

This moves to using the 3.13 grammar as well as testing 3.13 in CI.
This commit is contained in:
Peter Law
2024-06-23 13:13:31 +01:00
parent 340dedd021
commit d543d1d004
5 changed files with 9 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ class InferenceState:
self.compiled_subprocess = environment.get_inference_state_subprocess(self)
self.grammar = environment.get_grammar()
self.latest_grammar = parso.load_grammar(version='3.12')
self.latest_grammar = parso.load_grammar(version='3.13')
self.memoize_cache = {} # for memoize decorators
self.module_cache = imports.ModuleCache() # does the job of `sys.modules`.
self.stub_module_cache = {} # Dict[Tuple[str, ...], Optional[ModuleValue]]