pycomplete: Imports not found, error when no symbol
Bug #1019791 reported by
Urs Fleisch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
When a "from ... import" statement contains a dot, (e.g. "from PyQt4.QtGui import QMainWindow"), it is not recognized by py-find-
When pycomplete is used on a file, and then a Python file in a different directory is opened, its local imports are not loaded.
When no symbol is found (e.g. trying to complete "[].ap" an error occurs).
The attached patch fixes these problems.
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.1.0 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
patch committed, thanks