Re: State of kdevelop-python
"Christoph Cullmann (cullmann.io)" <[email protected]> Sun, 30 Jan 2022 20:38:00 +0100
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
On 2022-01-30 11:55, Sven Brauch wrote: > Hi, > > I just made an attempt to port kdevelop-python to Python 3.10. > Unfortunately, that's not really possible, because CPython un-exported > the C API we used to obtain an AST (it is still accessible from the > headers, but the symbols are no longer exported in the .so file -- no > idea what their plan is here, to be honest). > > This seems to be a conscious decision and based on previous > experiences, chances to change anything about this are slim; CPython > doesn't want their parsing C API to be used externally. > > Other than having a patched fork of Python (I don't really feel like > doing that), I honestly see few options. > > Of course, one could replace the whole frontend part of > kdevelop-python with something different, but that's a quite > significant amount of work and it feels somehow questionable whether > our backend is still good enough to be worth that. > > Anyways, this is just to inform you about this somewhat sad state of > affairs. Hi, just out of curiosity, how does the LSP integration of the https://github.com/python-lsp/python-lsp-server in Kate compare to what we have in KDevelop? Might it make sense to improve the LSP stuff instead of working on having a own parser for this? Greetings Christoph > > All the best, > Sven -- Ignorance is bliss... https://cullmann.io | https://kate-editor.org