1
0
forked from VimPlug/jedi

Add a comment and link to issue #483

This commit is contained in:
ColinDuquesnoy
2014-09-29 11:57:38 +02:00
parent 42596dba15
commit d7836c1034

View File

@@ -325,9 +325,10 @@ def load_module(path, name):
try:
__import__(dotted_path)
except RuntimeError:
# RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap
# the QObject class
if 'PySide' in dotted_path or 'PyQt' in dotted_path:
# RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap
# the QObject class.
# See https://github.com/davidhalter/jedi/pull/483
return None
# Just access the cache after import, because of #59 as well as the very
# complicated import structure of Python.