1
0
forked from VimPlug/jedi

allow_descriptor_getattr -> allow_unsafe_interpreter_executions

This commit is contained in:
Dave Halter
2023-07-29 00:03:45 +02:00
parent 62cbcb0844
commit 8a4b079d0f
5 changed files with 10 additions and 6 deletions

View File

@@ -143,10 +143,13 @@ This improves autocompletion for libraries that use ``setattr`` or
``globals()`` modifications a lot.
"""
instance_allow_descriptor_getattr = True
allow_unsafe_interpreter_executions = True
"""
Controls whether descriptors are evaluated when using an Interpreter. This is
something you might want to control when using Jedi from a Repl (e.g. IPython)
Generally this setting allows Jedi to execute __getitem__ and descriptors like
`property`.
"""
# ----------------