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

fix autocomplete not work for python 3.10 #915

Closed
wants to merge 2 commits into from

Conversation

DIM-KO
Copy link

@DIM-KO DIM-KO commented Dec 8, 2021

Fix #914

@DIM-KO DIM-KO marked this pull request as ready for review December 8, 2021 12:48
@DamnWidget
Copy link
Owner

Do you think a whole Jedi update could be better?

@DIM-KO
Copy link
Author

DIM-KO commented Dec 11, 2021

Maybe, but it works like that. my skill not high enough

@MattDMo
Copy link
Contributor

MattDMo commented Dec 27, 2021

@DamnWidget this PR simply copies the grammar39.txt file contents into a new file grammar310.txt. grammar39.txt is a copy of grammar38.txt, which comes from here. According to this page in the Python Developers Guide, "Earlier versions [prior to 3.9] use a different parser technology." I'm guessing the parser that processes these grammar files in Anaconda won't work with the new grammar files from 3.9 and 3.10 (and beyond), but these versions add new features to the language (the match/case statements in 3.10 come to mind), which I assume Anaconda users would like to make use of. Does parso work with both old and new grammars now?

@DamnWidget
Copy link
Owner

DamnWidget commented Feb 10, 2022

I am terribly busy, also I stop using Python all together in early 2014 and Sublime Text around 2016, I've been maintaining this plugin for many years after it was any useful to me at all. Said that, I am terribly disappointed no one else had step up in creating a better plugin than anaconda to support Python developers that use ST to their day to day work, it is also very frustrating that no one really step up to maintain anaconda.

I understand this is still the plugin that Python developers use on ST3 and ST4 and it really hurts me to see you guys in pain. I installed ST4 on my linux box and will try to update Jedi and other libraries to give a small push to this plugin, I don't promise anything, I will not spend a lot of hours trying to make things work but I will try to make it work with python 3.10, who knows, it might serve you well for a few more years.

I created anaconda because I had a need for a good plugin for my (then) Python work, as there was nothing that really worked fine, I created anaconda after trying to contribute in some other long dead now projects, my point is, if you have a need, and there is nothing that covers it, you should really think in do something that works for you, and who knows, maybe share it with the rest of the Community.

Anaconda was fine, it worked pretty well compared with the ecosystem we had back then but nowadays, there are lot of cool tools, Pylance, Black, Poetry, you should really step up and create something anew using cooler technology. At least that is what I did on my time, almost one decade ago.

Best regards my fellow developers

@DamnWidget
Copy link
Owner

This will be properly fixed in the next release, more info in #921

@DamnWidget DamnWidget closed this Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anaconda autocomplete
3 participants