-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
Strangely, cannot recognize function with type hinting. #1198
Comments
Can you try with non-Python3.7? It's not yet supported. Your only Python on Mac might be 2.7 and 3.7, which then makes Jedi choose Python 2.7, because it doesn't work with 3.7, yet. |
Hi, here is the result: The built-in python2.7: (btw, I am on macOS Mojave.)
python2.7 from homebrew:
pyenv python3.6.6 works.
|
The point is that in Python2.7 it will never work (because it doesn't support type hints). In Python 3.6 it works and in 3.7 it won't, because it's not supported yet. Please watch #1096 to wait for 3.7 support. |
Thank you! |
Strangely, cannot recognize function with type hinting.
My emacs cannot understand functions with type hinting. After a lot of troubleshooting, I found out that it was a problem with jedi. I am not sure what's wrong with it, due to everything works well on another machine.
The test source string:
On my macOS:
On my Gentoo:
You can easily found out
<Completion: with_hints>
is missing on macOS.The text was updated successfully, but these errors were encountered: