Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding "as <anything>" in Python Imports makes "Go to Definition" Fail #1107
If I have an import of my own Python module written out with "as [anything]" appended, "Go to Definition" will fail. (This was discovered while dealing with issue #1016 about loading imports.)
Steps to Reproduce
This should open foo.py in the Komodo editor, or, if it is open, go to the file in the appropriate tab.
If you remove the "as fu" from the end of the line, then it works as expected, but as long as the "as fu" is appended to the import command, "Go to definition" will not work.
Yes, this will be fixed in the next nightly build that we'll push out in the next few days. Keep your eyes peeled: http://downloads.activestate.com/Komodo/nightly/komodoide/latest-9.3.x/
I thought this was a small enough issue that it’d be rather low priority. (But also figured it’ be an easy fix, too.)