Support Python 3.11
This adds support for targetting Python 3.11 via picking up the latest grammar from parso while also validating support for running on 3.11 by adding it to the CI matrix.
This commit is contained in:
1 parent
c71e06fcb3
commit
67e0bec597
4 files changed
+7
-5
No files matched your search
@@ -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.10')
|
||||
self.latest_grammar = parso.load_grammar(version='3.11')
|
||||
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]]
|
||||
|
||||
Reference in new issue
Block a user