forked from VimPlug/jedi
Way better support for instantiated classes in REPL
Fixes several issues: - It was not possible to correctly trace where instances were coming from in a REPL. This led to them being pretty much ignored. - Instances were then just treated as classes and not as actual instances in MixedObjects. (However since they were ignored in the first place this wasn't really an issue). - Avoiding the repr bug https://github.com/python/cpython/pull/2132/files in Jedi is working a bit differently. We're just never accessing Objects directly. This should work around 99.99% of the cases were people are using this stuff. Fixes #872
This commit is contained in:
@@ -14,7 +14,7 @@ from jedi.cache import underscore_memoization, memoize_method
|
||||
from jedi.evaluate.filters import AbstractFilter, AbstractNameDefinition, \
|
||||
ContextNameMixin
|
||||
from jedi.evaluate.context import Context, LazyKnownContext
|
||||
from jedi.evaluate.compiled.getattr_static import getattr_static
|
||||
from jedi.evaluate.compiled.getattr_static import getattr_static
|
||||
from . import fake
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user