Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full_name of sub modules does not list parent package #519

Closed
florianlink opened this issue Dec 9, 2014 · 1 comment
Closed

full_name of sub modules does not list parent package #519

florianlink opened this issue Dec 9, 2014 · 1 comment
Labels

Comments

@florianlink
Copy link

For instance, the following code will print "api" as full_name, while I would expect "jedi.api" as full_name:

  source = '''
import jedi.api
jedi.api
'''
script = jedi.Script(source, len(source.splitlines()), len('jedi.api'), 'example1.py')
defs = script.goto_definitions()
print defs[0].full_name
@davidhalter davidhalter added the bug label Dec 9, 2014
@davidhalter davidhalter mentioned this issue Apr 14, 2015
8 tasks
davidhalter added a commit that referenced this issue Apr 23, 2015
…mes of modules possible (in combination with the module_name_cache). Fixes #519.
@davidhalter
Copy link
Owner

Fixed. It was way more complicated than I thought. I had to rewrite the whole import logic of Jedi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants